Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to contribute a dynamic menu
How to contribute a dynamic menu [message #326217] Wed, 12 March 2008 00:09 Go to next message
Eclipse UserFriend
Originally posted by: long_jiang.hotmail.com

Hi,

Could someone tell me how to contribute a dynamic menu like the
ContributionItemFactory.REOPEN_EDITORS from a plugin using an actionset
declared in the plugin.xml?

Thanks in advance,
Long
Re: How to contribute a dynamic menu [message #326223 is a reply to message #326217] Wed, 12 March 2008 08:24 Go to previous message
Eclipse UserFriend
You cannot do it using actionSets.

But in 3.3 and on you can use org.eclipse.ui.menus and the dynamic
element to supply a subclass of CompoundContributionItem.

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/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Previous Topic:!MESSAGE NLS missing message
Next Topic:Create plugin programmatically
Goto Forum:
  


Current Time: Thu May 08 22:25:25 EDT 2025

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

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

Back to the top