[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Adding Actions to the vertical ruler

For actions you would use org.eclipse.ui.popupMenus, for commands you would use org.eclipse.ui.menus.

The ruler id depends on which editor you are targetting. You can select an editor in eclipse and use ALT+SHIFT+F1 (Plug-in Spy) to find out the context menu IDs that are registered for that editor. Once you have the ID then you would use that as the targetID in popupMenus or a locationURI="popup:ID?after=additions" for org.eclipse.ui.menus.

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