|
Re: Newbie Guide to Creating Custom Matching Strategy [message #1759513 is a reply to message #1759249] |
Wed, 12 April 2017 13:01 |
|
Hi Nicholas,
the code from the developer guide can only be used if you are invoking the model comparison programmatically using the EMF Compare API. However, it sounds like you would like to have your custom matching behavior being used for comparisons that are started using the Eclipse/EMFCompare UI, right?
if yes, you'll have to register your own match engine via the extension point org.eclipse.emf.compare.rcp.matchEngine. E.g.
<extension
point="org.eclipse.emf.compare.rcp.matchEngine">
<engineFactory
class="org.eclipse.emf.compare.rcp.internal.match.DefaultRCPMatchEngineFactory"
description="Default implementation of the Matching engine provided by EMF Compare. Any user-provided engine should have a ranking > 0."
label="Default Match engine"
ranking="0">
</engineFactory>
</extension>
I hope that helps!
Best wishes,
Philip
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03334 seconds