How to add menu item, command and handler?
• Add dependency: MANIFEST.MF -> Dependencies tab -> Add -> org.eclipse.ui • Add extension point org.eclipse.ui.menus: plugin.xml -> Extension -> Add -> org.eclipse.ui.menus • Right-click -> New -> menuContribution • Enter locationURI: menu:file • Right click -> New -> command • Enter commandId: sampleCommand • Enter label: Sample Menu Item • Add extension point org.eclipse.ui.commands: plugin.xml -> Extensions -> Add -> org.eclipse.ui.commands • Right-click -> New -> command • Enter id: sampleCommand • Enter label: Sample Command • Add extension point org.eclipse.ui.handlers: plugin.xml -> Extensions -> Add -> org.eclipse.ui.handlers • Right-click -> New -> handler • Enter commandId: sampleCommand • Enter class: sample.SampleHandler • Click class link and create class • Provide sample implementation of the handler class implementing org.eclipse.core.commands.IHandler or extending org.eclipse.core.commands.AbstractHandler MANIFEST.MF