diff flys-artifacts/doc/conf/artifacts/winfo.xml @ 109:9891d133f08d

Improved the init process of the WINFOArtifact - there are two new states to select the river and the gauge. flys-artifacts/trunk@1294 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 04 Feb 2011 11:18:59 +0000
parents 5864c41219db
children f077df8ad54c
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml	Fri Feb 04 11:11:03 2011 +0000
+++ b/flys-artifacts/doc/conf/artifacts/winfo.xml	Fri Feb 04 11:18:59 2011 +0000
@@ -2,35 +2,17 @@
 <artifact name="winfo">
     <states>
 
-        <state id="winfo_gauge" description="winfo_gauge" state="de.intevation.flys.artifacts.state.GaugeState">
-            <!--
-            <inputvalues>
-                <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
-                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
-            </inputvalues>
-            -->
+        <state id="winfo_river" description="winfo_river" state="de.intevation.flys.artifacts.states.RiverSelect">
+            <inputvalue name="river" type="String" />
         </state>
 
         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
-            <from state="winfo_gauge"/>
-            <to state="winfo_calculation_type"/>
+            <from state="winfo_river"/>
+            <to state="winfo_gauge"/>
         </transition>
 
-        <state id="winfo_calculation_type" description="winfo_calculation_type" state="de.intevation.gnv.state.timeseries.TimeSeriesOutputState">
-            <!--
-            <inputvalues>
-                <inputvalue name="maxvalue" type="Date" multiselect="false"/>
-            </inputvalues>
-            -->
-            <outputsModes>
-                <outputsMode name="discharge_curve" description="Chartrepresentation of a discharge curve" mime-type="image/png">
-                    <exportModes>
-                        <export name="img" description="IMG-Export der Daten" mime-type="image/png" />
-                        <export name="pdf" description="PDF-Export der Daten" mime-type="application/pdf" />
-                        <export name="svg" description="SVG-Export der Daten" mime-type="image/svg+xml" />
-                    </exportModes>
-                </outputsMode>
-            </outputsModes>
+        <state id="winfo_gauge" description="winfo_gauge" state="de.intevation.flys.artifacts.states.GaugeSelect">
+            <inputvalue name="gauge"  type="String" />
         </state>
 
     </states>

http://dive4elements.wald.intevation.org