question: public void expandAndSelectIfExists ( RepositoryLocation location ) { if ( location . parent ( ) != null ) { expandIfExists ( location . parent ( ) , location . getName ( ) ) ; } else { expandIfExists ( location , null ) ; } scrollPathToVisible ( getSelectionPath ( ) ) ; }
target:  Expands the tree to select the given entry if it exists.