Open main menu

CDOT Wiki β

Changes

Add Menu to RCP Application

248 bytes added, 08:21, 3 March 2011
Add Menu to RCP Application
* Enter the id, name and defaultHandler as shown. i.e. id is cs.ecl.rcp.simple.book.Exit, name is Exit and defaultHandler is cs.ecl.rcp.simple.book.ExitHandler.
[[Image:rcp-menu-5.png|left|thumb]]<br style="clear:left;" />
* Click on the hyperlink "defaultHandler" to create the class which should extend "org.eclipse.core.commands.AbstractHandler". Remove the interface. You should have something like this.
[[Image:rcp-menu-6.png|left|thumb]]<br style="clear:left;" />
63
edits