|
From: Liu Z. <li...@us...> - 2001-12-14 01:56:37
|
Update of /cvsroot/geotools/geotools/src/uk/ac/leeds/ccg/geotools
In directory usw-pr-cvs1:/tmp/cvs-serv3292
Modified Files:
Viewer.java
Log Message:
fixed bugs with removeTheme(), which did not update the themeStack and relavant listeners
Index: Viewer.java
===================================================================
RCS file: /cvsroot/geotools/geotools/src/uk/ac/leeds/ccg/geotools/Viewer.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -w -C2 -d -r1.37 -r1.38
*** Viewer.java 2001/11/23 18:51:46 1.37
--- Viewer.java 2001/12/14 01:56:34 1.38
***************
*** 326,329 ****
--- 326,333 ----
if(staticThemes.contains(t)){
staticThemes.removeElement(t);
+ removeHighlightPositionChangedListener(t);
+ removeSelectionPositionChangedListener(t);
+ removeSelectionRegionChangedListener(t);
+ themeStack.removeTheme(t);
themeCount--;
updateStaticBuffer();
|