|
Re: [EMF compare] [message #664951 is a reply to message #664383] |
Tue, 12 April 2011 15:06 |
|
You have to create your own implementation of an org.eclipse.emf.compare.diff.engine.GenericDiffEngine (simply extend the Generic one), and override its "getAttributeChecker' so that it returns your own implementation of the org.eclipse.emf.compare.diff.engine.check.AttributesCheck class, where you will override the "shouldBeIgnored(EAttribute)" method.
After that, override the "org.eclipse.emf.compare.diff.engine" extension point and provide your own engine to EMF Compare.
Laurent Goubet
Obeo
|
|
|
|
|
Re: [EMF compare] [message #665589 is a reply to message #664383] |
Fri, 15 April 2011 07:59 |
|
Hi,
You do not call shouldBeIgnored. The EMF Compare core will call this method. You only override it and return either or for the EAttribute you are provided.
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.03951 seconds