@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    int row = getTree().getRowCount() - 1;
    while (row >= collapseToLevel) {
      getTree().collapseRow(row);
      row--;
    }
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)