Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ActionSet main menu with submenu
ActionSet main menu with submenu [message #556091] Mon, 30 August 2010 14:29 Go to next message
Mikael Petterson is currently offline Mikael Petterson
Messages: 150
Registered: July 2009
Senior Member
Hi,

I have been googling around for how to make the followning:

Main Menu
SubMenu ->MenuItem1
MenuItem2

How can I do this using actionSet like:

<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Sample Action Set"
visible="false"
id="org.eclipse.faq.examples.actionSet">
<menu>...</menu>
<action>...</action>
...
</actionSet>
</extension>

br,

//mike

Re: ActionSet main menu with submenu [message #557630 is a reply to message #556091] Wed, 08 September 2010 07:44 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can add commands and menus to the main menu bar using
org.eclipse.ui.menus. See the URLs in my .sig, and an example of adding
to the main menu bar is on
http://wiki.eclipse.org/Menu_Contributions/Search_Menu

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/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Launching ant or any other script on the project import
Next Topic:findViewReference returning null
Goto Forum:
  


Current Time: Wed Jul 30 17:23:47 EDT 2014

Powered by FUDForum. Page generated in 0.01474 seconds