Comparing GMF Resources [message #644871] |
Tue, 14 December 2010 14:45 |
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?
|
|
|
Powered by
FUDForum. Page generated in 0.02603 seconds