contentManagerUIListeners = new EventListenerList();
}
protected void addUIForContent(Content content) {
if (!showAlwaysTab && tabbedContentManager.getTabCount() == 0 && (contentValueAdjusting || toolWindowManager.getMainContent() == null)) {
detachedContentUIMap.put(content, new ContentPage(content, tabbedContentManager, null));
toolWindowManager.setMainContent(content.getComponent());
lastSelected = (BackContentUI) content;
} else {
if (!showAlwaysTab && tabbedContentManager.getParent() == null) {
valueAdjusting = true;