@Override
  public void rebuild() {
    JPanel tabComponent = ui.getTabComponent();

    tabComponent.removeAll();

    tabComponent.add(idLabel);
    ToolWindowContentUi.initMouseListeners(idLabel, ui, true);

    for (ContentTabLabel each : tabs) {
      tabComponent.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, tabComponent.getComponentCount());
      tabComponent.add(dropOverPlaceholder, index);
    }

    ui.connectTabToolbar();
  }
@Override
  public void rebuild()