Skip to main content

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 RathiFriend
Messages: 7
Registered: August 2012
Junior Member
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.

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 CelaFriend
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: Sun Apr 18 11:06:50 GMT 2021

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

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

Back to the top