Open main menu

CDOT Wiki β

Changes

Add Menu to RCP Application

173 bytes added, 09:17, 3 March 2011
Add Menu to RCP Application
[[Image:rcp-menu-8.png|left|thumb]]<br style="clear:left;" />
* Ok, we've created a command, so now we need a menu in which to add it.
* 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. You'll get something like this.
[[Image:rcp-menu-10.png|left|thumb]]<br style="clear:left;" />
63
edits