63
edits
Changes
→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;" />