private static void expandAllNodes(BeanTreeView btv, Node node, ExplorerManager mgr, AndroidSdk platform) {
btv.expandNode(node);
Children ch = node.getChildren();
if (ch == Children.LEAF) {
if (platform != null && platform.equals(node.getLookup().lookup(AndroidSdk.class))) {
try {
mgr.setSelectedNodes(new Node[]{node});
} catch (PropertyVetoException e) {
//Ignore it
}
}
return;
}
Node nodes[] = ch.getNodes(true);
for (int i = 0; i < nodes.length; i++) {
expandAllNodes(btv, nodes[i], mgr, platform);
}
}
SdksCustomizer.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:NBANDROID-V2
作者:
评论列表
文章目录