Skip to main content



      Home
Home » Modeling » Compare » [EMF Compare] Extension Points for configuring phases not working
[EMF Compare] Extension Points for configuring phases not working [message #1716272] Wed, 02 December 2015 10:53 Go to next message
Eclipse UserFriend
Hi folks,

recently I tried to customize the matching phase using the extension point
org.eclipse.emf.compare.rcp.matchEngine
.

When I realized, that my MatchEngineFactory is not used, I debugged a little bit into the
org.eclipse.emf.compare.ide.ui.internal.handler.AbstractCompareHandler
which seems to be responsible for configuring EMF Compare when triggered by the context menu actions contributed by the org.eclipse.emf.compare.ide.ui plugin.

My findings were, that this AbstractCompareHandler always registers its own IMatchEngine.Factory using the highest possible ranking (
Integer.MAX_VALUE
.

So are contributions made via the extension point
org.eclipse.emf.compare.rcp.matchEngine
considered at all?

Configuring EMF Compare programmatically works like a charm!

Thanks very much in advance!
Ferdinand

[Updated on: Wed, 02 December 2015 10:53] by Moderator

Re: [EMF Compare] Extension Points for configuring phases not working [message #1716407 is a reply to message #1716272] Thu, 03 December 2015 09:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ferdinand,

This does seem very strange at first glance. Could you open a bugzilla for this (if you have a ready-to-use test case, don't hesitate to attach it as well to the bug)? We'll be looking at this asap.

Laurent Goubet
Obeo
Re: [EMF Compare] Extension Points for configuring phases not working [message #1716950 is a reply to message #1716407] Wed, 09 December 2015 04:09 Go to previous message
Eclipse UserFriend
Hi Laurent,

thank you for your answer!

Hopefully I'm not wasting your time and its really a bug (on the otherside hopefully it is not Wink ).
I've created a bug report at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=483892

Thanks in advance!

Ferdinand
Previous Topic:Attribute changes in containment object result in ReferenceChange, but sometimes in AttributeChange
Next Topic:[EMF Compare] Custom IComparisonScope in IDE
Goto Forum:
  


Current Time: Thu Jul 24 20:57:58 EDT 2025

Powered by FUDForum. Page generated in 0.06180 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top