void () { ui.getTabComponent().removeAll(); ui.getTabComponent().add(idLabel); ToolWindowContentUi.initMouseListeners(idLabel, ui, true); for (ContentTabLabel each : tabs) { ui.getTabComponent().add(each); ToolWindowContentUi.initMouseListeners(each, ui, false); } if ((!isSingleContentView || !Registry.is("debugger.new.tool.window.layout.dnd", false)) && ui.dropOverIndex >= 0 && !tabs.isEmpty()) { int index = Math.min(ui.dropOverIndex, ui.getTabComponent().getComponentCount()); ui.getTabComponent().add(dropOverPlaceholder, index); } }