ContentManager (boolean dataFlowToThis) { if (dataFlowToThis) { if (myBackContentManager == null) { ToolWindow backToolWindow = ToolWindowManager.getInstance(myProject).registerToolWindow(RegisterToolWindowTask.closable( BACK_TOOLWINDOW_ID, LangBundle.messagePointer("toolwindow.name.dataflow.to.here"), AllIcons.Toolwindows.ToolWindowAnalyzeDataflow, ToolWindowAnchor.BOTTOM)); myBackContentManager = backToolWindow.getContentManager(); ContentManagerWatcher.watchContentManager(backToolWindow, myBackContentManager); } return myBackContentManager; } if (myForthContentManager == null) { ToolWindow forthToolWindow = ToolWindowManager.getInstance(myProject).registerToolWindow(RegisterToolWindowTask.closable( FORTH_TOOLWINDOW_ID, LangBundle.messagePointer("toolwindow.name.dataflow.from.here"), AllIcons.Toolwindows.ToolWindowAnalyzeDataflow, ToolWindowAnchor.BOTTOM)); myForthContentManager = forthToolWindow.getContentManager(); ContentManagerWatcher.watchContentManager(forthToolWindow, myForthContentManager); } return myForthContentManager; }