@ Override public void refreshGuiAndShowFile ( File file ) { if ( rootNode . getChildCount ( ) > 0 ) { rootNode . removeAllChildren ( ) ; treeModel . reload ( ) ; } if ( guiMain . getAsmProjectUml ( ) . getProjectUml ( ) != null ) { addTreeNodes ( file ) ; guiMain . getMenuMain ( ) . setVisibleProjectMenu ( true ) ; } else { guiMain . getMenuMain ( ) . setVisibleProjectMenu ( false ) ; } }
refresh tree and expand to file that usually newly created