Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Finding sub menu for a menu manager (Project Explorer)(Adding a sub menu if it is not available)
Finding sub menu for a menu manager (Project Explorer) [message #1113606] Sat, 21 September 2013 11:29 Go to next message
sajja Phani is currently offline sajja PhaniFriend
Messages: 26
Registered: August 2011
Junior Member
Hi,

How can I get all sub menus of a IMenuManager. Is there a way.

I want to add a sub menu if it is not available with the current menu manager.

I want to add my menu contribution to existing sub menu if one is available, otherwise create a new sub menu and add to it.
Re: Finding sub menu for a menu manager (Project Explorer) [message #1425371 is a reply to message #1113606] Wed, 17 September 2014 08:01 Go to previous message
Hussein MHANNA is currently offline Hussein MHANNAFriend
Messages: 45
Registered: February 2014
Location: LAVAL
Member
Hi,

You can get all the sub-menus from an IMenuManager by calling IMenuManager#getItems().

Regards,

Hussein


ALL4TEC
Previous Topic:[Databinding] missing SetChanged notification
Next Topic:Open a JFace Dialog over another JFace Dialog
Goto Forum:
  


Current Time: Thu Mar 28 14:51:52 GMT 2024

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

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

Back to the top