diff flys-artifacts/doc/conf/artifacts/winfo.xml @ 2251:c9c788eea200

Improved reference curve. flys-artifacts/trunk@3900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 03 Feb 2012 13:49:16 +0000
parents 7335c526befd
children eab357067e06
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml	Fri Feb 03 13:46:03 2012 +0000
+++ b/flys-artifacts/doc/conf/artifacts/winfo.xml	Fri Feb 03 13:49:16 2012 +0000
@@ -64,7 +64,7 @@
 
         <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
             <from state="state.winfo.calculation_mode"/>
-            <to state="state.winfo.reference.curve.input"/>
+            <to state="state.winfo.reference.curve.input.start"/>
             <condition data="calculation_mode" value="calc.reference.curve" operator="equal"/>
         </transition>
 
@@ -173,13 +173,24 @@
             <data name="diffids" type="String" />
         </state>
 
-        <state id="state.winfo.reference.curve.input" description="state.winfo.reference.curve.input" state="de.intevation.flys.artifacts.states.LocationSelect">
-        <!--state="de.intevation.flys.artifacts.states.ReferenceCurveInputState">-->
-            <data name="ld_locations" type="Double[]"/>
-            <!--data name="reference_start" type="Double"/-->
-            <!--data name="reference_end"   type="Double[]"/-->
+        <state id="state.winfo.reference.curve.input.start" description="state.winfo.reference.curve.input (start)" state="de.intevation.flys.artifacts.states.EnterLocationState">
+            <data name="reference.startpoint" type="Double[]"/>
         </state>
 
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
+            <from state="state.winfo.reference.curve.input.start"/>
+            <to   state="state.winfo.reference.curve.input.end"/>
+        </transition>
+
+        <state id="state.winfo.reference.curve.input.end" description="state.winfo.reference.curve.input (end)" state="de.intevation.flys.artifacts.states.EnterLocationState">
+            <data name="reference.endpoint" type="Double[]"/>
+        </state>
+
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
+            <from state="state.winfo.reference.curve.input.end"/>
+            <to state="state.winfo.reference.curve"/>
+        </transition>
+
         <state id="state.winfo.reference.curve" description="state.winfo.reference.curve" state="de.intevation.flys.artifacts.states.ReferenceCurveState">
             <outputmodes>
                 <outputmode name="reference_curve" mime-type="image/png" type="chart">
@@ -190,11 +201,6 @@
             </outputmodes>
         </state>
 
-        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
-            <from state="state.winfo.reference.curve.input"/>
-            <to state="state.winfo.reference.curve"/>
-        </transition>
-
         <state id="state.winfo.w_differences" description="state.winfo.w_differences" state="de.intevation.flys.artifacts.states.WDifferencesState">
 
             <outputmodes>

http://dive4elements.wald.intevation.org