if (cutAction != null) {
cutAction.update();
cutHandlerActivation = service.activateHandler(
IWorkbenchCommandConstants.EDIT_CUT,
new ActionHandler(cutAction),
new ActiveShellExpression(getParent().getShell()));
}
copyAction.update();
copyHandlerActivation = service.activateHandler(
IWorkbenchCommandConstants.EDIT_COPY,
new ActionHandler(copyAction),
new ActiveShellExpression(getParent().getShell()));
if (pasteAction != null)
this.pasteHandlerActivation = service.activateHandler(
IWorkbenchCommandConstants.EDIT_PASTE,
new ActionHandler(pasteAction),
new ActiveShellExpression(getParent().getShell()));
selectAllHandlerActivation = service.activateHandler(
IWorkbenchCommandConstants.EDIT_SELECT_ALL,
new ActionHandler(selectAllAction),
new ActiveShellExpression(getParent().getShell()));
if (undoAction != null)
undoHandlerActivation = service.activateHandler(
IWorkbenchCommandConstants.EDIT_UNDO,
new ActionHandler(undoAction),
new ActiveShellExpression(getParent().getShell()));
if (redoAction != null)
redoHandlerActivation = service.activateHandler(
IWorkbenchCommandConstants.EDIT_REDO,
new ActionHandler(redoAction),
new ActiveShellExpression(getParent().getShell()));
if (quickFixActionHandler != null)
quickFixHandlerActivation = getHandlerService().activateHandler(
quickFixActionHandler.getAction().getActionDefinitionId(),
quickFixActionHandler,