[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.emft] Re: [EMF Compare] Custom Match Engine

Hi Guillaume,

It would seem that you seek to override the diff, not the match. You can override GenericDiffEngine#getAttributesChecker() and GenericDiffEngine#getReferenceChecker() then override ReferencesCheck#shouldBeIgnored(EReference) and AttributesCheck#shouldBeIgnored(EAttriute) to fit your needs.

Laurent Goubet
Obeo

Guillaume Chatelet a écrit :
Hello,

I'd like to customize the GenericMatchEngine to get better results with my particular model. For instance I'd like to filter out some features that are not relevant for this particular Diff.

I tried to customize GenericMatchEngine but I couldn't find a way to do that. Should I do this as a post process on the diffModel ?

Any help would be greatly appreciated,
Best regards,
Guillaume Chatelet


begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr/";>Obeo</a>
email;internet:laurent.goubet@xxxxxxx
url:http://www.obeo.fr
version:2.1
end:vcard