void (@NotNull ContentManager manager, @NotNull TabGroupId tabGroupId, @NotNull TabDescriptor tab, boolean select) { Content content = ContentFactory.getInstance().createContent(tab.getComponent(), tabGroupId.getDisplayName(tab), true); content.setTabName(tabGroupId.getDisplayName(tab)); content.putUserData(Content.TABBED_CONTENT_KEY, Boolean.TRUE); content.putUserData(Content.TAB_GROUP_ID_KEY, tabGroupId); content.putUserData(Content.TAB_DESCRIPTOR_KEY, tab); Disposer.register(content, tab); addContent(manager, content, select); }