Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:53 Go to next message
Ferdinand Meier is currently offline Ferdinand MeierFriend
Messages: 3
Registered: February 2014
Junior Member
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 15:53]

Report message to a moderator

Re: [EMF Compare] Extension Points for configuring phases not working [message #1716407 is a reply to message #1716272] Thu, 03 December 2015 14:17 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
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 09:09 Go to previous message
Ferdinand Meier is currently offline Ferdinand MeierFriend
Messages: 3
Registered: February 2014
Junior Member
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: Tue Mar 19 07:03:12 GMT 2024

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

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

Back to the top