Пример #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);
   }
 }