use of com.intellij.execution.dashboard.tree.RunDashboardTreeStructure in project intellij-community by JetBrains.
the class RunDashboardContent method setupBuilder.
private void setupBuilder() {
RunDashboardTreeStructure structure = new RunDashboardTreeStructure(myProject, myGroupers);
myBuilder = new AbstractTreeBuilder(myTree, myTreeModel, structure, IndexComparator.INSTANCE) {
@Override
protected boolean isAutoExpandNode(NodeDescriptor nodeDescriptor) {
return super.isAutoExpandNode(nodeDescriptor) || !myCollapsedTreeNodeValues.contains(((AbstractTreeNode) nodeDescriptor).getValue());
}
};
myBuilder.initRootNode();
Disposer.register(this, myBuilder);
}
Aggregations