Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Contribute command menu item to "legacy" menu?
Contribute command menu item to "legacy" menu? [message #333850] Fri, 09 January 2009 12:27 Go to next message
Eugene Ostroukhov is currently offline Eugene OstroukhovFriend
Messages: 66
Registered: July 2009
Member
I need to put a command handler menu item (using org.eclipse.ui.menus
extension point) to a menu created by another plugin using
org.eclipse.ui.actionSets.

I can't figure out a proper URI. Lets say another plugin contributes to
the location I need using following menubarPath -
com.xyz.menu/someSeparator. What would be the matching URI? I tried both
menu:com.xyz.menu and menu:org.eclipse.ui.main.menu/com.xyz.menu with no
effect.

Best regards,
Eugene
Re: Contribute command menu item to "legacy" menu? [message #333882 is a reply to message #333850] Mon, 12 January 2009 15:37 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You would have to replicate the menu structure in your
org.eclipse.ui.menus and place the command in it.

actionSets can see o.e.ui.menus menu structure, but no one can see menus
defined in actionSets (not even other actionSets)

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


Previous Topic:why does the jvm terminate when i open eclipse?
Next Topic:How to create nested default editor for MultiPageEditorPart?
Goto Forum:
  


Current Time: Fri Apr 26 23:53:10 GMT 2024

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

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

Back to the top