mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SCR42456
This commit is contained in:
@@ -63,13 +63,14 @@ public abstract class BaseProjectTreeBuilder extends AbstractTreeBuilder {
|
||||
buildNodeForElement(parent);
|
||||
|
||||
DefaultMutableTreeNode node = getNodeForElement(parent);
|
||||
myTree.expandPath(new TreePath(node.getPath()));
|
||||
//expandNodeChildren(node);
|
||||
|
||||
if (node == null) {
|
||||
return new ArrayList<AbstractTreeNode>();
|
||||
}
|
||||
|
||||
myTree.expandPath(new TreePath(node.getPath()));
|
||||
|
||||
List<AbstractTreeNode> result = new ArrayList<AbstractTreeNode>();
|
||||
for (int i = 0; i < node.getChildCount(); i++) {
|
||||
javax.swing.tree.TreeNode childAt = node.getChildAt(i);
|
||||
|
||||
Reference in New Issue
Block a user