void (@NotNull final DataContext dataContext) { if (!ensureEditable()) { return; } CommandProcessor.getInstance().executeCommand(getProject(), () -> FormEditingUtil.deleteSelection(GuiEditor.this), UIDesignerBundle.message("command.delete.selection"), null); }