Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EMF Compare/Restrict comparison on selection
THIS PAGE IS ARCHIVED. IT IS PROBABLY OUTDATED AND WILL NOT BE UPDATED
In the tree comparison editor, a right click on an DiffGroup MUST open a popup menu. It gives the ability to select the selected element as the new root of the comparison. Then, the StructureMergeViewer is updated to only show the differences below the selected element.
As soon as a DiffGroup has been selected to restrict the comparison, the popup menu does not allow to select a new DiffGroup to further restrict the comparison but only to restore the whole comparision view.
The popup menu as it appears first:
Here is the StructureMergeViewer when the restriction has been activated:
How to come back to the original content in the StructureMergeViewer: