Open main menu

CDOT Wiki β

Changes

Add Menu to RCP Application

42 bytes removed, 09:33, 3 March 2011
Add Menu to RCP Application
* Go back to the plugin.xml view and click the Add button. Then select the "org.eclipse.ui.menus" extension and click Finish.
[[Image:rcp-menu-9.png|left|thumb]]<br style="clear:left;" />
* Now, right click on the menus extension and select New -> MenuContribution. Then add the location URI as "menu:org.eclipse.ui.main.menu". You'll get something like this.
[[Image:rcp-menu-10.png|left|thumb]]<br style="clear:left;" />
* Add a label and id as File and fileMenu.[[Image:rcp-menu-11.png|left|thumb]]<br style="clear:left;" />
63
edits