Relationship between EMF Compare and eclipse Compare [message #1741387] |
Wed, 24 August 2016 11:27  |
Eclipse User |
|
|
|
Hi,
We have an RCP application that currently uses eclipse compare, where we extend org.eclipse.compare.CompareEditorInput to compare two inputs and use CompareUI to launch a compare editor.
In a sub project of this application, we are looking at using EMF Compare, to compare instances of EMF models. I can launch the default EMF compare editor by following this guide, where I pass an instance of org.eclipse.emf.compare.ide.ui.internal.editor.ComparisonEditorInput to be launched by CompareUI, and this opens the EMF compare editor.
What I am wondering is, what in particular is the relationship (if any) between the differences that are calculated by eclipse compare and the differences calculated by EMF compare?
In eclipse compare we have org.eclipse.compare.structuremergeviewer.DiffNode as the result of a computed difference, and in EMF compare we have the org.eclipse.emf.compare.Diff interface and associated classes. Is there any mechanism for adapting one type of calculated difference to the other?
Many thanks,
Conor
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02434 seconds