Search in sources :

Example 1 with RunDashboardTreeStructure

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);
}
Also used : RunDashboardTreeStructure(com.intellij.execution.dashboard.tree.RunDashboardTreeStructure)

Aggregations

RunDashboardTreeStructure (com.intellij.execution.dashboard.tree.RunDashboardTreeStructure)1