e.printStackTrace();
}
}
private void createToolWindow(Project project) {
final HerokuProjectService herokuProjectService = ServiceManager.getService(project, HerokuProjectService.class);
addAll(new HerokuApplicationWindow(herokuProjectService),
new HerokuProcessesWindow(herokuProjectService), new HerokuConfigWindow(herokuProjectService),
new HerokuAddonsWindow(herokuProjectService), new HerokuCollaboratorsWindow(herokuProjectService),
new HerokuLogsWindow(herokuProjectService), new HerokuReleasesWindow(herokuProjectService),
new HerokuSetupWindow(herokuProjectService, this));
if (herokuProjectService.isHerokuProject())
getContentManager().setSelectedContent(getContent(HerokuApplicationWindow.class));
else
getContentManager().setSelectedContent(getContent(HerokuSetupWindow.class));
}