changeset 1106:8ce8979f51df

Added the transition chain for the external mapviewer call (issue318). gnv-artifacts/trunk@1237 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 29 Jun 2010 07:09:13 +0000 (2010-06-29)
parents 19813e72ec06
children 86ca3c10523f
files gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh_parallel.xml
diffstat 2 files changed, 40 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Mon Jun 28 17:44:40 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Jun 29 07:09:13 2010 +0000
@@ -1,3 +1,10 @@
+2010-06-29  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	  Issue318
+
+	* doc/conf/products/verticalcrosssection/conf_mesh_parallel.xml: Added
+	  transition chain for the external mapviewer call.
+
 2010-06-28  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	  Issue284
--- a/gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh_parallel.xml	Mon Jun 28 17:44:40 2010 +0000
+++ b/gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh_parallel.xml	Tue Jun 29 07:09:13 2010 +0000
@@ -38,7 +38,7 @@
 
         <transition transition="de.intevation.gnv.transition.DefaultTransition">
             <from state="verticalcrosssection_mesh_parallel_with_wkt"/>
-            <to state="verticalcrosssection_mesh_parallel_coordinate"/>
+            <to state="verticalcrosssection_mesh_point_parallel_presettings"/>
         </transition>
 
         <state id="verticalcrosssection_mesh_parallel_area" description="verticalcrosssection_mesh_parallel_area_one" state="de.intevation.gnv.state.DefaultState">
@@ -95,6 +95,12 @@
 
         <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
             <from state="verticalcrosssection_mesh_parallel"/>
+            <to state="verticalcrosssection_mesh_point_parallel_presettings"/>
+            <condition inputvalue="geometry" value="POINT" operator="equal"/>
+        </transition>
+
+        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
+            <from state="verticalcrosssection_mesh_parallel"/>
             <to state="verticalcrosssection_mesh_parallel_coordinate"/>
             <condition inputvalue="geometry" value="POINT" operator="notequal"/>
         </transition>
@@ -116,6 +122,12 @@
             <condition inputvalue="geometry" value="LINESTRING" operator="notequal"/>
         </transition>
 
+        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
+            <from state="verticalcrosssection_mesh_parallel_without_geom"/>
+            <to state="verticalcrosssection_mesh_point_parallel_presettings"/>
+            <condition inputvalue="geometry" value="POINT" operator="equal"/>
+        </transition>
+
          <state id="verticalcrosssection_mesh_parallel_coordinate" description="verticalcrosssection_mesh_parallel_coordinate" state="de.intevation.gnv.state.SingleInputState">
            <dataname>mesh_coordinate</dataname>
            <data-multiselect>false</data-multiselect>
@@ -146,6 +158,26 @@
            <mesh-width xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/meshwidth.xml"/>
        </state>
 
+       <state id="verticalcrosssection_mesh_point_parallel_presettings" description="verticalcrosssection_mesh_point_parallel_presettings" state="de.intevation.gnv.state.PreSettingsTransferCoordinateSelectionState">
+            <queryID>verticalprofile_mesh_point</queryID>
+            <dataname>mesh_point</dataname>
+            <data-multiselect>false</data-multiselect>
+            <presettings-transfer presetting="geometry" inputvalue="mesh_coordinate"/>
+            <inputvalues>
+                 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
+                 <inputvalue name="meshid" type="Integer" multiselect="false"/>
+                 <inputvalue name="mesh_coordinate" type="Geometry" multiselect="false" usedinquery="1"/>
+                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
+                 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/>
+            </inputvalues>
+            <mesh-width xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/meshwidth.xml"/>
+        </state>
+
+        <transition transition="de.intevation.gnv.transition.DefaultTransition">
+            <from state="verticalcrosssection_mesh_point_parallel_presettings"/>
+            <to state="verticalcrosssection_mesh_parallel_axis"/>
+        </transition>
+
        <transition transition="de.intevation.gnv.transition.DefaultTransition">
            <from state="verticalcrosssection_mesh_parallel_point"/>
            <to state="verticalcrosssection_mesh_parallel_axis"/>

http://dive4elements.wald.intevation.org