protected void addCollapseExpandActions(final List<? super AnAction> result) {
    final TreeExpander expander = new DefaultTreeExpander(myTree);
    final CommonActionsManager actionsManager = CommonActionsManager.getInstance();
    result.add(actionsManager.createExpandAllAction(expander, myTree));
    result.add(actionsManager.createCollapseAllAction(expander, myTree));
  }
protected void addCollapseExpandActions(final List<? super AnAction> result)