Adding context menu contributions for the model objects, not the edit parts [message #239753] |
Wed, 14 November 2007 17:17 |
Fredrik Robertssen Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have made an easy UML diagram editor with GEF, based on the shapes
example. I have a lot of actions from previous plug-ins, which define
their contributions to the UML model elements (for example
org.eclipse.uml2.uml.Class).
It would be nice if these actions would show up in the context menu of the
corresponding edit part that represents a org.eclipse.uml2.uml.Class,
without re-writing all the actions again.
Is there a way? I am thinking on something like a type mapper, that tells
the context menu that not only ClassEditParts contributions apply to this
menu, but also org.eclipse.uml2.uml.Class
Thanks,
Fredrik
|
|
|
Powered by
FUDForum. Page generated in 0.03443 seconds