Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Adding Items to Connection Creation Popup Menu
Adding Items to Connection Creation Popup Menu [message #1443646] Mon, 13 October 2014 03:06
Jimmy Lu is currently offline Jimmy LuFriend
Messages: 11
Registered: October 2014
Junior Member
I'd like to modify the popup menu appearing when the connection handle on a node is used.
For example I'd like to modify the menu to add another item saying e.g. "Create Dotted Line" that uses the same model as the normal line (but with different states).

From my own research I found CreateUnspecifiedTypeConnectionRequest creates a request for each connection type provided by the user implementation of ModelingAssistantProvider. And for each request ConnectionCreationTool creates a command to create an entry in the popup menu. How can I modify this process to add different entries in the menu that instantiate the same model?
Previous Topic:GMF customization with EEF
Next Topic:Diagram Editor Gen Model
Goto Forum:

Current Time: Tue Mar 09 08:26:00 GMT 2021

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

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

Back to the top