ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java
public DatasetNode getSelectedDataset() {
    InvCatalogTreeNode tnode = getSelectedNode();
    return tnode == null ? null : tnode.ds;
  }
public DatasetNode getSelectedDataset() {
    InvCatalogTreeNode tnode = getSelectedNode();
    return tnode == null ? null : tnode.ds;
  }
public DatasetNode getSelectedDataset ( ) { InvCatalogTreeNode tnode = getSelectedNode ( ) ; return tnode == null ? null : tnode . ds ; }
Get the currently selected InvDataset.
@return selected InvDataset, or null if none.
Get the currently selected InvDataset .