}
@Override
public void projectOpened() {
if (ApplicationManager.getApplication().isHeadlessEnvironment()) return;
StartupManager.getInstance(myProject).registerPostStartupActivity(new DumbAwareRunnable() {
public void run() {
final ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject);
if (toolWindowManager != null) {
myToolWindow = toolWindowManager.registerToolWindow(TOOLWINDOW_ID, true, ToolWindowAnchor.BOTTOM, myProject, true);
final Content content = ContentFactory.SERVICE.getInstance().createContent(gameController.getMainPanel(), PuzzlersBundle.message("window.content.name"), false);