Open main menu

CDOT Wiki β

Changes

Add Menu to RCP Application

1 byte added, 08:22, 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 interfaceany interfaces. You should have something like this.
[[Image:rcp-menu-6.png|left|thumb]]<br style="clear:left;" />
63
edits