private void installAutoScroll() {
    myAutoScrollHandler = new AutoScrollToSourceHandler() {
      @Override
      protected boolean isAutoScrollMode() {
        return isAutoScrollEnabled();
      }

      @Override
      protected void setAutoScrollMode(boolean state) {
        //do nothing
      }

      @RequiresEdt
      @Override
      protected void scrollToSource(@NotNull Component tree) {
        updateSelectionFromTree();
      }

      @Override
      protected boolean needToCheckFocus() {
        return false;
      }
    };
    myAutoScrollHandler.install(myTree);
  }
private void installAutoScroll()