diff flys-artifacts/doc/conf/artifacts/winfo.xml @ 1625:c45e8d6b99a2

#315 Added new state for entering a kilometer range without step width. flys-artifacts/trunk@2800 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 21 Sep 2011 13:03:54 +0000
parents 2490d6ef394e
children 71d369ab789d
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml	Wed Sep 21 13:01:25 2011 +0000
+++ b/flys-artifacts/doc/conf/artifacts/winfo.xml	Wed Sep 21 13:03:54 2011 +0000
@@ -23,7 +23,7 @@
 
         <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
             <from state="state.winfo.calculation_mode"/>
-            <to state="state.winfo.distance"/>
+            <to state="state.winfo.distance_only"/>
             <condition data="calculation_mode" value="calc.flood.map" operator="equal"/>
         </transition>
 
@@ -70,6 +70,11 @@
             </outputmodes>
         </state>
 
+        <state id="state.winfo.distance_only" description="state.winfo.distance_only" state="de.intevation.flys.artifacts.states.DistanceOnlySelect">
+            <data name="ld_from" type="Double" />
+            <data name="ld_to"   type="Double" />
+        </state>
+
         <state id="state.winfo.distance" description="state.winfo.distance" state="de.intevation.flys.artifacts.states.DistanceSelect">
             <data name="ld_from" type="Double" />
             <data name="ld_to"   type="Double" />
@@ -85,7 +90,7 @@
         </state>
 
         <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
-            <from state="state.winfo.distance"/>
+            <from state="state.winfo.distance_only"/>
             <to state="state.winfo.uesk.wsp"/>
             <condition data="calculation_mode" value="calc.flood.map" operator="equal"/>
         </transition>

http://dive4elements.wald.intevation.org