Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » Customization and Team support(Customization and Team support)
Customization and Team support [message #1066838] Thu, 04 July 2013 12:14 Go to next message
Kamel Ouadou is currently offline Kamel Ouadou
Messages: 1
Registered: July 2013
Junior Member
Hi,
I'm working with EMFCompare2.0 and I try to integrate it with our team provider implementation.
What we need is the ability to customize the default Diff Engine and Match Engine in order to hide complexity of our meta-models. For instance we want to igonre some classes and features using custom diff engine and custom match engine.
With EMFCompare 1.3; we've defined our custom engines and use them by EMFCompare Extension points but with EMFCompare 2.0 there are not same extension points and specially no extension point on DiffEngine.

I've looked to the Developper Guide in order to do customization but I don't find how to change EMFCompare.Builder().().() chained calls when comparison is launched from Team support menus such as "Compare with .." menu or any "Team>> Merge Tool" menu.

Thanks & Regards,

Kamel


Re: Customization and Team support [message #1066916 is a reply to message #1066838] Fri, 05 July 2013 03:02 Go to previous message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1583
Registered: July 2009
Senior Member
Kamel,

There are quite a few extension points for EMF Compare, and you can take a look at the extensions we provide for UML and GMF comparisons for examples of use. The most important would be org.eclipse.emf.compare.rcp.postProcessor that will allow you to alter the result of every single phase of the comparison. This "post-processing" way of doing things has proven to be enough for our extension use cases, though if you need to replace the default behavior as a whole, this can only be done (through extension points) for the match, using the org.eclipse.emf.compare.rcp.matchEngine extension point.

The wiki is not fully written yet, and though we made sure that most of EMF Compare can be extended at will, we are still missing a lot of extension points (most extensions can only be setup programatically for now). If there are things you cannot achieve using the existing extension facilities, please elaborate on your use case and what you need in fine.

Laurent Goubet
Obeo
Previous Topic:Improving threshold usage on EditionDistance.distance(Comparison inProgress, EObject a, EObject b)
Next Topic:Need help/guidance in using emf-compare standalone to compare two xml files based on a model
Goto Forum:
  


Current Time: Mon Oct 07 07:42:49 EDT 2013

Powered by FUDForum. Page generated in 0.01705 seconds