Skip to main content



      Home
Home » Eclipse Projects » Sirius » Which popup menu
Which popup menu [message #1732003] Wed, 11 May 2016 11:18 Go to next message
Eclipse UserFriend
Hi,

I can create a vsp that contains tools that appear in pop-up (context) menu. I think that if I have multiple tool sections in my vsp, all having these kinds of menus, they will as one pop-up menu in the editor as long as the menus (as defined in the vsp) have the same names

I noticed that when I'm creating multiple vsp's, some making contributions to others, multiple popup menu entries (with the same name) appear.

Is there a way to ensure that only one popup menu entry is created (as long as the name I used for all definitions is the same)?

Greetings,
Wilbert.

Re: Which popup menu [message #1732080 is a reply to message #1732003] Thu, 12 May 2016 09:06 Go to previous message
Eclipse UserFriend
Hi,

What did you call vsp? The specification model (.odesign)?

If you have multiple tool sections, with Popup Menu tool with same name,
it's normal that you have multiples menu with same name in contextual menu.
If you want the menu does not visible in the contextual menu you should
use the precondition Popup Menu tool or the precondition operation
action, to say when the menu could appear or not.

Regards,

--
Julien - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:SiriusDiagramActionBarContributor cannot be reused by reimplementing the Sirius Editor
Next Topic:Routing problem between some nodes
Goto Forum:
  


Current Time: Tue Mar 25 03:03:39 EDT 2025

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

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

Back to the top