Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to Add a Shortcut to the Domain Model
icon5.gif  How to Add a Shortcut to the Domain Model [message #664648] Mon, 11 April 2011 13:58
Elle  is currently offline Elle Friend
Messages: 6
Registered: April 2011
Location: Cairo, Egypt
Junior Member

Hey all,

So far I have been able to drag and drop nodes to create shortcuts, as well as double click a shortcut to open it's diagram.

But my problem is this: After adding a shortcut to diagram A then adding a node from the palette, the shortcut vanishes! Also if I double click the shortcut it vanishes as well.

I know this happens because the refreshSemantic() method removes it. And I don't want to solve it by just commenting the part that removes it.

I know that I need to add the shortcut to the domain model to solve this. But I have no idea how to do this!! =( So if someone can just tell me WHERE to put the code and HOW to write it would be very helpful!!

Thank you all in advance.
Previous Topic:Connections and Expression Labels
Next Topic:Create Diagram with initial Content
Goto Forum:

Current Time: Tue May 03 01:10:24 GMT 2016

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

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