copyAction = new CopyAction(this);
copyAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_COPY);
addPartPropertyListener((IPropertyChangeListener) copyAction);
copyAction.setEnabled(false);
pasteAction = new PasteAction(this);
pasteAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_PASTE);
addPartPropertyListener((IPropertyChangeListener) pasteAction);
pasteAction.setEnabled(false);
registerGlobalActionHandlers(actionBars);