public boolean nodeChange(CatalogTreeNode node,String name){
  CatalogTreeNode cNode=getCorrespondingNode(node);
  cNode.setLeaves(node.getLeaves());
  AbstractCatalogTree tree=(AbstractCatalogTree)getCorespondingModel(node);
  cNode.setUserObject(name);
  node.setUserObject(name);
  tree.nodeChanged(cNode);
  _model.nodeChanged(node);
  updatePanel();
  ImageIndexEditor.indexChanged(true);
  updatePanel();
  return true;
}

public boolean nodeChange ( CatalogTreeNode node , String name ) { CatalogTreeNode cNode = getCorrespondingNode ( node ) ; cNode . setLeaves ( node . getLeaves ( ) ) ; AbstractCatalogTree tree = ( AbstractCatalogTree ) getCorespondingModel ( node ) ; cNode . setUserObject ( name ) ; node . setUserObject ( name ) ; tree . nodeChanged ( cNode ) ; _model . nodeChanged ( node ) ; updatePanel ( ) ; ImageIndexEditor . indexChanged ( true ) ; updatePanel ( ) ; return true ; }
make a change to a node in the displayed tree . either its name or the contents of its leaves ( image references )
