void () { if (myExecuteEnabled) { List<EditOperation> operations = new ArrayList<>(); for (EditOperation operation : getOperations()) { if (operation.canExecute()) { operations.add(operation); } } myToolProvider.execute(operations, DesignerBundle.message("command.tool_operation")); } }