Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Which popup menu
Which popup menu [message #1732003] Wed, 11 May 2016 15:18 Go to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 209
Registered: June 2010
Senior Member
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 13:06 Go to previous message
Julien Dupont is currently offline Julien DupontFriend
Messages: 172
Registered: July 2009
Senior Member
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: Fri Apr 26 17:01:08 GMT 2024

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

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

Back to the top