Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] Custom Match Engine
[EMF Compare] Custom Match Engine [message #484188] Fri, 04 September 2009 14:22 Go to next message
Guillaume Chatelet is currently offline Guillaume ChateletFriend
Messages: 146
Registered: July 2009
Senior Member
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
Re: [EMF Compare] Custom Match Engine [message #484191 is a reply to message #484188] Fri, 04 September 2009 14:33 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080505080000050501010900
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

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
Re: [EMF Compare] Custom Match Engine [message #621355 is a reply to message #484188] Fri, 04 September 2009 14:33 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080505080000050501010900
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

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
Previous Topic:[EMF Compare] Custom Match Engine
Next Topic:[EMF Compare] Understanding EMF Compare
Goto Forum:
  


Current Time: Thu Apr 25 08:54:54 GMT 2024

Powered by FUDForum. Page generated in 0.03062 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top