Skip to main content


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 18:29 Go to next message
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 158
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 11:44 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
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: Fri Apr 26 15:27:55 GMT 2024

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

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

Back to the top