Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Contributing a submenu using org.eclipse.ui.menus extension point
Contributing a submenu using org.eclipse.ui.menus extension point [message #481851] Mon, 24 August 2009 14:46 Go to next message
M D is currently offline M D
Messages: 8
Registered: July 2009
Junior Member
Hi,

I am looking at contributing a submenu using the
"org.eclipse.ui.menus" extension point. Is it possible to do this without
using a dynamic submenu? I was looking at this example
http://wiki.eclipse.org/Menu_Contributions/Populating_a_dyna mic_submenu
but I dont want to contribute a submenu using Java code.
Any example would be much appreciated

Thanks in advance for any help.

Regards,
-Manas
Re: Contributing a submenu using org.eclipse.ui.menus extension point [message #481910 is a reply to message #481851] Mon, 24 August 2009 17:31 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

ex: something like:
<menuContribution locationURI="menu:file?after=close.ext"><menu id="my.menu" label="Close Special"><command commandId="my.close.one"/><command commandId="my.close.two"/></menu></menuContribution>

PW


Re: Contributing a submenu using org.eclipse.ui.menus extension point [message #482011 is a reply to message #481910] Tue, 25 August 2009 06:48 Go to previous message
Eclipse User
Originally posted by: msp.informatik.uni-kiel.de

Yes, use the 'menu' element as child of 'menuContribution'.

Miro


Paul Webster wrote:
> ex: something like:
> <menuContribution locationURI="menu:file?after=close.ext"><menu
> id="my.menu" label="Close Special"><command
> commandId="my.close.one"/><command
> commandId="my.close.two"/></menu></menuContribution>
> PW
>
Previous Topic:Tabbed Properties View
Next Topic:Position to IFile after project creation
Goto Forum:
  


Current Time: Wed Oct 22 14:03:01 GMT 2014

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

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