Skip to main content



      Home
Home » Eclipse Projects » Sirius » Context menu
Context menu [message #1739569] Tue, 02 August 2016 23:21 Go to next message
Eclipse UserFriend
Hello
I have created Popup menu element.
How can I assign it to specific diagram element to extend context menu?

Thanks
Arseniy Isakov
Re: Context menu [message #1739607 is a reply to message #1739569] Wed, 03 August 2016 05:01 Go to previous message
Eclipse UserFriend
Hello

Simply adding a precondition expression in your menu element [1]. The precondition is evaluated at each selection.

Regards
Laurent
[1] http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.sirius.doc%2Fdoc%2Fspecifier%2Fdiagrams%2FDiagrams.html&cp=69_2_1_4&anchor=tools
Previous Topic:Stange behavior associated elements for edges
Next Topic:Problem with target mapping in a simple diagram extension
Goto Forum:
  


Current Time: Sat Mar 15 11:16:02 EDT 2025

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

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

Back to the top