|
Re: Hyperlinks for Diagram Elements [message #1269832 is a reply to message #1269812] |
Wed, 12 March 2014 08:33 |
|
Hi Marc Florian,
When you drop a diagram from the model explorer onto an element in the diagram, this creates an hyperlink to the diagram, and also adds it as a default navigation link for the element. That means that when you double click on the element, the linked diagram will open.
For this, a specific drag and drop strategy was created in Papyrus. The code that manages this drop is located in the plugin org.eclipse.papyrus.infra.gmfdiag.hyperlink. It relies on some code present in the plugin org.eclipse.papyrus.infra.hyperlink (framework for the hyperlinks).
The entry point is the class org.eclipse.papyrus.infra.gmfdiag.hyperlink.dnd.HyperlinkDropStrategy.
HTH
Rémi
Remi Schnekenburger
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
Powered by
FUDForum. Page generated in 0.03068 seconds