public void projectOpened() {
toolWindow = new ScriptMonkeyToolWindow(project);
ScriptCommandProcessor commandProcessor = new ScriptCommandProcessor(ApplicationManager.getApplication(), project, this);
ClearEditorAction clearEditorAction = new ClearEditorAction();
ShowScriptMonkeyConfigurationAction showConfigurationAction = new ShowScriptMonkeyConfigurationAction();
OpenHelpAction openHelpAction = new OpenHelpAction();
AnAction commandShellActions[] = {clearEditorAction, showConfigurationAction, openHelpAction};
commandShellPanel = new ScriptShellPanel(commandProcessor, commandShellActions);
commandShellPanel.applySettings(ScriptMonkeyApplicationComponent.getInstance().getSettings());
clearEditorAction.setScriptShellPanel(commandShellPanel);
commandProcessor.processCommandLine();
commandProcessor.addGlobalVariable("window", commandShellPanel);
toolWindow.addContentPanel("JS Shell", commandShellPanel);
}