private void installDnD() {
    setTabDraggingEnabled(true);

    addListener(new TabsListener() {
      @Override
      public void tabsMoved() {
        moveTabToNewIndex(getDragHelper().getDragSource());
      }
    });

    getDockManager().register(new TabsDockContainer(), myParentDisposable);
  }
private void installDnD()