public MongoWindowManager(Project project) {
this.project = project;
this.mongoManager = MongoManager.getInstance(project);
ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(project);
mongoExplorerPanel = new MongoExplorerPanel(project, mongoManager);
mongoExplorerPanel.installActions();
Content mongoExplorer = ContentFactory.SERVICE.getInstance().createContent(mongoExplorerPanel, null, false);
ToolWindow toolMongoExplorerWindow = toolWindowManager.registerToolWindow(MONGO_EXPLORER, false, ToolWindowAnchor.RIGHT);
toolMongoExplorerWindow.getContentManager().addContent(mongoExplorer);
toolMongoExplorerWindow.setIcon(MONGO_ICON);
}