void (final Runnable runnable, final boolean requestFocus) { final ToolWindowManager windowManager = ToolWindowManager.getInstance(myProject); if (requestFocus) { windowManager.getToolWindow(ToolWindowId.COMMANDER).activate(runnable); } else { runnable.run(); } }