Skip to main content



      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 07:27 Go to next message
Eclipse UserFriend
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 10:37 Go to previous message
Eclipse UserFriend
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: Wed May 07 14:00:02 EDT 2025

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

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

Back to the top