public void setSelectedDataset ( Dataset ds ) { if ( ds == null ) return ; TreePath path = makePath ( ds ) ; if ( path == null ) return ; tree . setSelectionPath ( path ) ; tree . scrollPathToVisible ( path ) ; }
Set the currently selected InvDataset .