Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Programatically open a menu from menubar (Programatically open a menu from menubar )
Programatically open a menu from menubar [message #938079] Tue, 09 October 2012 14:26 Go to next message
Somesh Rathi is currently offline Somesh Rathi
Messages: 7
Registered: August 2012
Junior Member
Hello,
MenuManager and Menu Contribution items has been already created.
For the input Menu Item id , i need to programatically drop-down/open/display a menu item from menubar in eclipse.
I think i may need to fire some event.

Can you please help at the earliest.

Thanks
Re: Programatically open a menu from menubar [message #941212 is a reply to message #938079] Fri, 12 October 2012 09:50 Go to previous message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

Supposing you are using e4, take a look at the static updateElementVisibility method in the MenuManagerRendererFilter as the logic lies there. You can try and adapt it to your needs.
Previous Topic:GEF Editor in eclipse 4
Next Topic:Programmatically show a part
Goto Forum:
  


Current Time: Wed Oct 22 23:18:51 GMT 2014

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

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