@Override
  boolean isAutoExpandNode(NodeDescriptor descriptor) {
    Object element = descriptor.getElement();
    if (element instanceof AbstractTreeNode) {
      element = ((AbstractTreeNode<?>)element).getValue();
    }
    if (element == myFile) {
      return true;
    }
    else {
      return element == getRootElement() || element == mySummaryElement;
    }
  }
@Override
  boolean isAutoExpandNode(NodeDescriptor descriptor)