From: Mark G. <mg...@us...> - 2004-02-28 00:03:17
|
Update of /cvsroot/gmod/apollo/src/java/apollo/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13317 Modified Files: MultiController.java Log Message: Fixed bug where types panel not showing up in window list. This was because types panel was registered with master controller as it needs to be to get stuff from all the species. The master controller now queries all the species controllers for window lists. so windowMenu now queries the master controller for the window list. The annot tree window is still not making the list unfortunately - its not in any of the contollers window lists - not sure whats up there. Index: MultiController.java =================================================================== RCS file: /cvsroot/gmod/apollo/src/java/apollo/gui/MultiController.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MultiController.java 23 Jan 2004 02:01:13 -0000 1.5 --- MultiController.java 27 Feb 2004 23:54:14 -0000 1.6 *************** *** 67,70 **** --- 67,77 ---- } + public Vector getWindowList(Window skipMe) { + Vector winList = super.getWindowList(skipMe); + for (int i=0; i<speciesControllers.size(); i++) { + winList.addAll(getSpeciesController(i).getWindowList(skipMe)); + } + return winList; + } /* |