boolean (final ThrowableRunnable<Exception> operation, String command, final boolean updateProperties) { myLastExecuteCommand = command; final Ref<Boolean> result = Ref.create(Boolean.TRUE); CommandProcessor.getInstance().executeCommand(getProject(), () -> result.set(DesignerEditorPanel.this.execute(operation, updateProperties)), command, null); return result.get(); }