void () { CommandProcessor.getInstance().executeCommand(myProject, new Runnable() { @Override public void run() { ApplicationManager.getApplication().runWriteAction(runnable); } }, "", getDocument(), UndoConfirmationPolicy.DEFAULT, getDocument()); }