Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » Contributing to the structure merge viewer's toolbar?
Contributing to the structure merge viewer's toolbar? [message #1341450] Thu, 08 May 2014 13:41
Andreas Mayer is currently offline Andreas MayerFriend
Messages: 11
Registered: April 2014
Junior Member

I would like to contribute a command of my own to the toolbar of EMF Compare's structure merge viewer. Since the toolbar picks up contributions for "", that's quite easy. However, there seems to be no feasible way for the command handler to access the Comparison instance or the diff model. So you can contribute commands, but you can't actually do anything useful with it. Or am I missing something?

A few more details: In the command handler I can access current active editor (an instance of or its input (an instance of Neither provides an API to access EMF Compare-specific information nor can they be adapted to something that does.

The CompareEditorInput.getCompareConfiguration() returns a CompareConfiguration, which supports generic properties. EMF Compare uses these properties to attach the Comparison instance (among others), which I am looking for, but the corresponding property key is a private implementation detail of This could be used for a hack, but again is no safe API to access the diff model.

Previous Topic:[EMFCompare] duplicate post. Please ignore
Next Topic:[EMF Compare] Register custom EMF models for comparison
Goto Forum:

Current Time: Sat Jul 02 03:11:35 GMT 2022

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

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

Back to the top