Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Can dynamic menus be in dynamic menus?
Can dynamic menus be in dynamic menus? [message #331703] Wed, 17 September 2008 12:27 Go to next message
Matt Anderson is currently offline Matt AndersonFriend
Messages: 6
Registered: July 2009
Junior Member
I have a requirement to provide a menu item that can have any number of
submenus off of it (the first level of dynamic menus) and each submenu can
have any number of options to select off of it (the second level of
dynamic menus). Is this possible in Eclipse 3.3? It doesn't seem
possible declaratively. Is it possible programatically?
Re: Can dynamic menus be in dynamic menus? [message #331729 is a reply to message #331703] Thu, 18 September 2008 14:28 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Do you mean adding something to the main menu and then making it's
submenus (and their entries) dynamic?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: Can dynamic menus be in dynamic menus? [message #331751 is a reply to message #331729] Fri, 19 September 2008 14:28 Go to previous message
Matt Anderson is currently offline Matt AndersonFriend
Messages: 6
Registered: July 2009
Junior Member
I got the answer. Use MenuManager class for the dynamic "sub-menus"
branches and CommandContributionItem for dynamic leafs...

Thanks.
Previous Topic:Context menus in the empty area of a view
Next Topic:Incremental builder vs. External tools launch configuration
Goto Forum:
  


Current Time: Thu Nov 07 16:39:10 GMT 2024

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

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

Back to the top