changeset 2171:9083e1b47b66

Transition/States: Removed superfluous condition checks. flys-artifacts/trunk@3766 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 25 Jan 2012 15:12:07 +0000
parents 90dfc25007f1
children 3ecc76ef25a9
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/artifacts/winfo.xml
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Jan 25 14:14:33 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Jan 25 15:12:07 2012 +0000
@@ -1,3 +1,7 @@
+2012-01-25	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* doc/conf/artifacts/winfo.xml: Removed superfluous condition checks.
+
 2012-01-25  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml	Wed Jan 25 14:14:33 2012 +0000
+++ b/flys-artifacts/doc/conf/artifacts/winfo.xml	Wed Jan 25 15:12:07 2012 +0000
@@ -51,10 +51,9 @@
             <condition data="calculation_mode" value="calc.w.differences" operator="equal"/>
         </transition>
 
-        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.winfo.waterlevel_pair_select"/>
             <to state="state.winfo.w_differences"/>
-            <condition data="calculation_mode" value="calc.w.differences" operator="equal"/>
         </transition>
 
         <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect">
@@ -93,10 +92,9 @@
             </outputmodes>
         </state>
 
-        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.winfo.distance_only"/>
             <to state="state.winfo.uesk.wsp"/>
-            <condition data="calculation_mode" value="calc.flood.map" operator="equal"/>
         </transition>
 
         <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect">
@@ -123,10 +121,9 @@
             <to state="state.winfo.wq_adapted"/>
         </transition>
 
-        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.winfo.location_distance"/>
             <to state="state.winfo.wq"/>
-            <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
         </transition>
 
         <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
@@ -250,10 +247,9 @@
             </outputmodes>
         </state>
 
-        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.winfo.wq"/>
             <to state="state.winfo.waterlevel"/>
-            <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
         </transition>
 
         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">

http://dive4elements.wald.intevation.org