Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » CascadingDifferencesFilter and changes in moved objects
CascadingDifferencesFilter and changes in moved objects [message #1369880] Tue, 20 May 2014 19:43 Go to next message
Andreas Mayer is currently offline Andreas MayerFriend
Messages: 11
Registered: April 2014
Junior Member
Hello,

if a new element X was added to a model and X has descendants of its own, then the default engine creates ADDs for X and each of its descendants in the comparison result. The structure merge viewer in turn provides a filter (CascadingDifferencesFilter), which is enabled by default and will hide all of these ADDs except the one for X. This seems to be a reasonable decision, because the descendants are added to the model as part of X.

However, this filter also applies to ADDs in objects that have been moved. For example, if an EAttribute x has been moved from EClass A to EClass B and an EAnnotation has been added to x, then you will only see that x was moved, but not the addition of the EAnnotation -- until you disable the filter for cascading differences. In my opinion, changes in moved objects should not be treated as cascading differences and therefore not hidden by default, because they are unrelated to the move.

Andreas
Re: CascadingDifferencesFilter and changes in moved objects [message #1371136 is a reply to message #1369880] Wed, 21 May 2014 08:26 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a good candidate for a bug report. Could you create the entry on https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EMFCompare&component=UI ?

Laurent Goubet
Obeo
Re: CascadingDifferencesFilter and changes in moved objects [message #1371208 is a reply to message #1371136] Wed, 21 May 2014 09:06 Go to previous message
Andreas Mayer is currently offline Andreas MayerFriend
Messages: 11
Registered: April 2014
Junior Member
Done. Smile

Andreas
Previous Topic:Questions on custom IMatchEngines
Next Topic:[EMFCompare] Compare two models and compute the intersection of them
Goto Forum:
  


Current Time: Fri Apr 19 10:53:54 GMT 2024

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

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

Back to the top