public void removeNodeFromModel(CatalogTreeNode node){
  AbstractCatalogTree tree=(AbstractCatalogTree)getCorespondingModel(node);
  tree.removeNodeFromParent(getCorrespondingNode(node));
  _model.removeNodeFromParent(node);
  ImageIndexEditor.indexChanged(true);
}

public void removeNodeFromModel ( CatalogTreeNode node ) { AbstractCatalogTree tree = ( AbstractCatalogTree ) getCorespondingModel ( node ) ; tree . removeNodeFromParent ( getCorrespondingNode ( node ) ) ; _model . removeNodeFromParent ( node ) ; ImageIndexEditor . indexChanged ( true ) ; }
delete a node from the displayed tree .
