예제 #1
0
 private static void markNodesObsolete(final XValueContainerNode<?> node) {
   node.setObsolete();
   List<? extends XValueContainerNode<?>> loadedChildren = node.getLoadedChildren();
   if (loadedChildren != null) {
     for (XValueContainerNode<?> child : loadedChildren) {
       markNodesObsolete(child);
     }
   }
 }
예제 #2
0
 public void markNodesObsolete() {
   Object root = myTreeModel.getRoot();
   if (root instanceof XValueContainerNode<?>) {
     markNodesObsolete((XValueContainerNode<?>) root);
   }
 }