408409410411412413414415416417418
if (object instanceof Node) { Node node = (Node) object; node.addChild(new Leaf()); log.debug("Leaf added: to NODE"); // this node has been changed() node.touch(); expandNode(node); } }
422423424425426427428429430431432
public void addNode(Object object) { if (object instanceof Node) { Node node = (Node) object; node.addChild(new Node()); // this node has been changed() node.touch(); expandNode(node); } } public void downloadTree() {
221222223224225226227228229230231
if (object instanceof Node) { Node node = (Node) object; node.addChild(new Leaf()); log.debug("Leaf added: to NODE"); // this node has been changed() node.touch(); expandNode(node); } } /**
234235236237238239240241242243244
public void addNode(Object object) { if (object instanceof Node) { Node node = (Node) object; node.addChild(new Node()); // this node has been changed() node.touch(); expandNode(node); } } private void expandNode(TreeNode node) {