[Jtreeview-cvs] jtreeview commit notification
Brought to you by:
alokito
|
From: Alok S. <al...@us...> - 2004-06-29 18:45:14
|
Update of /cvsroot/jtreeview/LinkedView/src/edu/stanford/genetics/treeview/app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19567/src/edu/stanford/genetics/treeview/app Modified Files: LinkedViewApp.java Log Message: added override for LoadNewNW fucntion; before was incorrectly calling that of superclass. Index: LinkedViewApp.java =================================================================== RCS file: /cvsroot/jtreeview/LinkedView/src/edu/stanford/genetics/treeview/app/LinkedViewApp.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** LinkedViewApp.java 15 May 2004 00:30:50 -0000 1.7 --- LinkedViewApp.java 29 Jun 2004 18:45:04 -0000 1.8 *************** *** 78,81 **** --- 78,100 ---- } + /** + * same as above, but doesn't open a loading window (damn deadlocks!) + */ + public void openNewNW(FileSet fileSet) throws LoadException { + // setup toplevel + LinkedViewFrame tvFrame = new LinkedViewFrame(this); + if (fileSet != null) { + try { + tvFrame.loadFileSetNW(fileSet); + tvFrame.setLoaded(true); + } catch (LoadException e) { + tvFrame.dispose(); + throw e; + } + } + tvFrame.addWindowListener(this); + tvFrame.show(); + } + /* inherit description */ |