|
Re: Adding new Node in the StructureViewer [message #1767008 is a reply to message #1766580] |
Thu, 29 June 2017 13:23 |
|
Hi Roopesh,
It is possible to do, but if what you're trying to achieve is grouping differences together, do you really want to do it only on the UI side (i.e. with no impact to the merging at all)? You might want to look at how to refine the differences to group them semantically instead. You could for example add a "refining" difference that would tie together a group of semantically dependant differences (see the "refinedBy" and "refines" references in the documentation).
If you really only want a UI grouping, you'll need to look at how we've implemented them in the UI. You'll want to look at the javadoc of org.eclipse.emf.compare.rcp.ui.structuremergeviewer.filters.AbstractDifferenceFilter and its inheriting classes.
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.02933 seconds