Search in sources :

Example 1 with NodeTreeItem

use of com.insightfullogic.honest_profiler.ports.javafx.view.tree.NodeTreeItem in project honest-profiler by jvm-profiling-tools.

the class TreeViewController method refresh.

// AbstractViewController Implementation
@Override
protected void refresh() {
    Tree target = getTarget();
    if (target == null) {
        treeTable.setRoot(null);
    } else {
        treeTable.setRoot(new NodeTreeItem(getTarget().filter(getFilterSpecification())));
        expandPartial(treeTable.getRoot(), 2);
    }
    treeTable.sort();
}
Also used : Tree(com.insightfullogic.honest_profiler.core.aggregation.result.straight.Tree) NodeTreeItem(com.insightfullogic.honest_profiler.ports.javafx.view.tree.NodeTreeItem)

Aggregations

Tree (com.insightfullogic.honest_profiler.core.aggregation.result.straight.Tree)1 NodeTreeItem (com.insightfullogic.honest_profiler.ports.javafx.view.tree.NodeTreeItem)1