use of org.csstudio.display.builder.editor.rcp.actions.PasteAction in project org.csstudio.display.builder by kasemir.
the class DisplayEditorPart method createRetargetableActionHandlers.
private void createRetargetableActionHandlers(final Control fx_canvas) {
actions.put(ActionFactory.UNDO.getId(), new UndoAction(editor));
actions.put(ActionFactory.REDO.getId(), new RedoAction(editor));
actions.put(ActionFactory.CUT.getId(), new CutDeleteAction(editor, true));
actions.put(ActionFactory.COPY.getId(), new CopyAction(editor));
actions.put(ActionFactory.PASTE.getId(), new PasteAction(fx_canvas, editor));
actions.put(ActionFactory.DELETE.getId(), new CutDeleteAction(editor, false));
actions.put(ActionFactory.SELECT_ALL.getId(), new SelectAllAction(editor));
}
Aggregations