|Re: Group Differences [message #1765942 is a reply to message #1765873]
||Wed, 14 June 2017 14:27
|| Laurent Goubet
Registered: July 2009
I'm not sure I completely understand the question since, in the example you describe, there should only be 2 difference:
eType EString [java.lang.String] has been set
Foo : EString has been added to eStructuralFeatures
The other one I don't know the origin of?
That being said, the UI uses filters to remove the first of these two, namely the "cascading differences" filter.
It sounds like you're not using the EMF Compare UI; are you trying to re-code one?
If you're using the default EMF Compare UI, you should have a look at the filters, they're extensible so you can add filters for your specific use cases if the cascading one doesn't meet your needs.
If you're trying to re-code an UI for the comparison, you might want to look at how we implemented filtering on the tree viewers, specifically, you want to look at org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.filters.StructureMergeViewerFilter and its uses.
This is kind of a scattershot answer, could you describe your use case a little more so that I might understand better what you're trying to achieve?
Powered by FUDForum
. Page generated in 0.02023 seconds