no

Menu Contribution Location in Eclipse-RCP

There are 3 main location where a menu can be added (Menu Codes): 1.) menu - menu:org.eclipse.ui.main.menu 2.) toolbar - toolbar:org.ecli...

There are 3 main location where a menu can be added (Menu Codes):

1.) menu - menu:org.eclipse.ui.main.menu
2.) toolbar - toolbar:org.eclipse.ui.main.toolbar
3.) popup - popup:org.eclipse.ui.popup.any

To add a menu:
1.) open plugin.xml
2.) go to extension tab and org.eclipse.ui.menus
3.) right click the newly added extension and select New->menuContribution
4.) in the right side: Extension Element Details set the locationURI=[menu code]
5.) and that's it either add a Command or another Menu object to this menuContribution

References:   
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench_cmd_menus.htm   
http://wiki.eclipse.org/Menu_Contributions

Related

java 5754242455443362505

Post a Comment

item