handlerService.activateHandler("Jampa.menuStop", new ActionHandler(stopAction));
stopAction.setEnabled(false);
pauseAction = new Action(Messages.getString("Menu.Actions.Pause"), SWT.NONE) {
public void run() {
new PauseAction().run();
}
};
pauseAction.setImageDescriptor(Activator.getImageDescriptor("/icons/pause_16.png"));
pauseAction.setActionDefinitionId("Jampa.menuPause");
handlerService.activateHandler("Jampa.menuPause", new ActionHandler(pauseAction));