@SuppressWarnings("unchecked") private void addTreeBranch(CatalogTreeNode node){
  if (log.isDebugEnabled()) {
    log.debug("addTreeBranch called for node= " + node.toString() + ", has "+ node.getChildCount()+ " children");
  }
  CatalogTreeNode root=(CatalogTreeNode)_model.getRoot();
  Enumeration<CatalogTreeNode> e=node.children();
  while (e.hasMoreElements()) {
    CatalogTreeNode n=e.nextElement();
    addNode(root,n);
  }
}

@ SuppressWarnings ( "unchecked" ) private void addTreeBranch ( CatalogTreeNode node ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "addTreeBranch called for node= " + node . toString ( ) + ", has " + node . getChildCount ( ) + " children" ) ; } CatalogTreeNode root = ( CatalogTreeNode ) _model . getRoot ( ) ; Enumeration < CatalogTreeNode > e = node . children ( ) ; while ( e . hasMoreElements ( ) ) { CatalogTreeNode n = e . nextElement ( ) ; addNode ( root , n ) ; } }
recursively add the branch nodes to display tree
