|
Re: Ignoring Elements completely in custom Match and Diff Engine [message #903325 is a reply to message #901012] |
Thu, 23 August 2012 07:50 |
|
Hi Benjamin,
EMF Compare 1.* did not provide any easy mean to filter out elements entirely. What you are currently doing is the easiest way to do so.
The current development effort focuses on EMF Compare 2.0; and this version will be much more simple in terms of customization. If you are not too far in your customization, and mainly use EMF Compare for models with identifiers (XMI ID or ID attributes), you might want to start with this version instead. It will be what we contribute to Kepler in the Eclipse yearly release for 2013, and it breaks most APIs since it is a total re-thought of the comparison process.
If you do give a chance to EMF Compare 2, what you need to provide is an implementation of the IComparisonScope that removes the elements you do not wish compared. You can then pass this on to EMFCompare.compare().
Laurent Goubet
Obeo
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.22763 seconds