Skip to main content



      Home
Home » Eclipse Projects » Sirius » Create Menu Items (Operation Action) Based On Semantics at Runtime
Create Menu Items (Operation Action) Based On Semantics at Runtime [message #1735275] Thu, 16 June 2016 16:45
Eclipse UserFriend
Hi,

Let's say in the image attached below, we want to have "Open Fragment Diagram A", "Open Fragment Diagram B", "Open Fragment Diagram C", ... instead of having only one item. These A,B, C are fetched at runtime and not in the design time. How Can I do that?

index.php/fa/26193/0/

What I'm looking for is basically looking at the semantic model and then create menu item based on the semantics. I found that we can not define dynamic Operation Actions. If I know the size of the menu items I wanted to create, I could have defined operation actions and set precondition for it to show or hide. But I don't know it at the design time.

Thanks,
Parsa

[Updated on: Thu, 16 June 2016 16:46] by Moderator

Previous Topic:Edge touching real border of custom non-rectangular polygon
Next Topic:Highlight edges when selecting a node
Goto Forum:
  


Current Time: Sun Mar 23 21:10:26 EDT 2025

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

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

Back to the top