action.setId(IWorkbenchCommandConstants.EDIT_CUT);
getSite().getKeyBindingService().registerAction(action);
this.getSelectionActions().add(action.getId());
registry.registerAction(action);
action = new PasteAction(this);
action.setImageDescriptor(sharedImages
.getImageDescriptor(ISharedImages.IMG_TOOL_PASTE));
action.setDisabledImageDescriptor(sharedImages
.getImageDescriptor(ISharedImages.IMG_TOOL_PASTE_DISABLED));
action.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_PASTE);