Open main menu

CDOT Wiki β

Changes

Add Menu to RCP Application

484 bytes added, 09:06, 3 March 2011
Add Menu to RCP Application
* Run the example and you should get something like this:
[[Image:rcp-menu-1.png|left|thumb]]<br style="clear:left;" />
* We'll now create a command (Exit) which we will later add to the menu (File) that we have yet to create.
* Start by double clicking plugin.xml in the Package window. This will bring the plugin.xml file into the edit window.
* Now click on the Extensions tab. You should see this:
[[Image:rcp-menu-2.png|left|thumb]]<br style="clear:left;" />
* Click the Add button and select "org.eclipse.ui.commands" and click Finish.
[[Image:rcp-menu-3.png|left|thumb]]<br style="clear:left;" />
63
edits