Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » [EMF Compare] Custom IComparisonScope in IDE
[EMF Compare] Custom IComparisonScope in IDE [message #1718980] Mon, 04 January 2016 08:51 Go to next message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 219
Registered: April 2012
Senior Member
Dear all,

Is it possible to use a custom comparison scope instead of the DefaultComparisonScope in the IDE? If possible, are there any leads of which code needs to be adapted?
I need to prune the scope for the comparison to skip some elements that will never match.

Kind Regards,
Re: [EMF Compare] Custom IComparisonScope in IDE [message #1719226 is a reply to message #1718980] Wed, 06 January 2016 11:14 Go to previous message
Philip Langer is currently offline Philip LangerFriend
Messages: 97
Registered: March 2015
Location: Vienna, Austria

Hi Rolf,

afaik, it is currently only possible to use a custom implementation of the IComparisonScope when you invoke EMF Compare using the API. There is no extension point that allows to replace the default comparison scope when EMF Compare is invoked through the compare UI.

If your main goal is to ignore certain parts of your model in the matching phase, you could do that in a customized match engine instead (see how to override the default match engine).

Hope this helps,


Philip Langer

Get professional Eclipse developer support:
Previous Topic:[EMF Compare] Extension Points for configuring phases not working
Next Topic:Comparing two xmi files?
Goto Forum:

Current Time: Tue Aug 03 20:32:49 GMT 2021

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

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

Back to the top