changeset 2449:e73e92c70290

Deactivate measure control when activating GetFeatureInfo control and reverse. flys-client/trunk@4123 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 05 Mar 2012 14:02:48 +0000
parents 30c7f8f9f1b7
children 0537faaa9848
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Mar 05 13:55:00 2012 +0000
+++ b/flys-client/ChangeLog	Mon Mar 05 14:02:48 2012 +0000
@@ -1,3 +1,8 @@
+2012-03-05  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java:
+	  Deactivate GetFeatureInfo tool when activating Measure tool and reverse.
+
 2012-03-05  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/server/GFIServiceImpl.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java	Mon Mar 05 13:55:00 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java	Mon Mar 05 14:02:48 2012 +0000
@@ -490,6 +490,7 @@
                 activatePan(false);
                 activateZoomBox(false);
                 activateSelectFeature(false);
+                activateGetFeatureInfo(false);
             }
 
             public void disable() {
@@ -532,6 +533,7 @@
                 activatePan(false);
                 activateZoomBox(false);
                 activateSelectFeature(false);
+                activateMeasureControl(false);
                 activateGetFeatureInfo(true);
             }
 

http://dive4elements.wald.intevation.org