Friday, September 2, 2011

Eclipse RCP - Create menu with command

Tutorial 1 : Create menu with command

Step 1:
Open manifest file MANIFEST.MF

Step 2:
Open tab Extensions in order to use the existed plug-in



Step 3:
Click add button and chose commands plug-in


Step 4:
Define command handler by clicking on default Handler



Step 5
Create menu and associate menu with command


Step 6
Right click to plugin org.eclipse.ui.menus, select New -> menuContribution
Fill the menu contribution



Step 7
Right click on menu contribution and click on popup menu item "Menu"


Step 8
Right click on menu and select New--> Command



No comments:

Post a Comment