void (@NotNull final DataContext dataContext) { if (doCopy() && myEditor.ensureEditable()) { CommandProcessor.getInstance().executeCommand(myEditor.getProject(), () -> FormEditingUtil.deleteSelection(myEditor), UIDesignerBundle.message("command.cut"), null); } }