Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Comparing GMF Resources
Comparing GMF Resources [message #644871] Tue, 14 December 2010 09:45
Hayden Marchant is currently offline Hayden Marchant
Messages: 12
Registered: November 2009
Junior Member
I am trying to implement compare for our application which is a GMF based application.

Essentially, we'd like to implement compare (not merge for now), and the out of the box implementation for EMF Compare, using the org.eclipse.emf.compare.ui.contenttype.ModelContentType content-type is nearly spot on. The only thing that I need to change, is that I don't want to compare the whole GMFResource, but rather the model part of it (i.e. I'd like to call a couple of lines of code to retrieve the object that I really want to compare, and then pass it on to the EMF Compare logic)

I cleverly thought I could create my own merge viewer, inheriting from ModelContentMergeViewer from the emf.compare plugin, but , unfortunately, this is an internal class which is not exported.

Any suggestions for how I go ahead in getting the cool EMF Graphical Compare that I need without reimplementing the whole world?
Previous Topic:[EMFStore] "0 Model Version(s) registered" error
Next Topic:Proxies do not resolve?!
Goto Forum:
  


Current Time: Sat Aug 30 06:22:35 EDT 2014

Powered by FUDForum. Page generated in 0.09607 seconds