Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Adding context menu contributions for the model objects, not the edit parts
Adding context menu contributions for the model objects, not the edit parts [message #239753] Wed, 14 November 2007 17:17
Fredrik Robertssen is currently offline Fredrik RobertssenFriend
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
Previous Topic:Compute absolute coordinates to store in the model
Next Topic:Snap bendpoints
Goto Forum:
  


Current Time: Thu Sep 26 03:59:24 GMT 2024

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

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

Back to the top