[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Drop Down Menu in own View

You can create an IAction with a PULL_DOWN type and provide an IMenuCreator. See the actions article at http://www.eclipse.org/articles/

Or you can create a menu command contribution with an ID and provide another menu contribution with a matching menu:ID ... the menu:ID contribution will be automatically added to the dropdown, and can even provide a dynamic element for dynamic contributions.

Later,
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