Mercurial > dive4elements > gnv-client
changeset 613:f20b65c1ebf3
Modified first Configuration of a Product that it skip States if a geometry was inserted into the PreSettings.
gnv-artifacts/trunk@679 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 12 Feb 2010 09:17:21 +0000 |
parents | e86d37008fd1 |
children | e80e37b78302 |
files | gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml |
diffstat | 2 files changed, 38 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Fri Feb 12 09:11:49 2010 +0000 +++ b/gnv-artifacts/ChangeLog Fri Feb 12 09:17:21 2010 +0000 @@ -1,3 +1,12 @@ +2010-02-12 Tim Englich <tim.englich@intevation.de> + + * doc/conf/products/timeseries/conf_mesh.xml: + Added new Transitions so that the State for entering a CoordinateValue will + only be shown if no Point was inserted during the Instantiation of an Artifact. + (MapViewer-Interface) + The could be used in the FIS Modeldata using the Product TimeSeries. You also have + to use a Region in the RegionFilter. + 2010-02-12 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/state/PreSettingsTransferState.java:
--- a/gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml Fri Feb 12 09:11:49 2010 +0000 +++ b/gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml Fri Feb 12 09:17:21 2010 +0000 @@ -69,10 +69,18 @@ </inputvalues> </state> - <transition transition="de.intevation.gnv.transition.DefaultTransition"> + + <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition"> <from state="timeseries_mesh"/> <to state="timeseries_mesh_coordinate"/> - </transition> + <condition inputvalue="geometry" value="POINT" operator="notequal"/> + </transition> + + <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition"> + <from state="timeseries_mesh"/> + <to state="timeseries_meshpoint_presettings"/> + <condition inputvalue="geometry" value="POINT" operator="equal"/> + </transition> <state id="timeseries_mesh_coordinate" description="timeseries_mesh_coordinate" state="de.intevation.gnv.state.SingleInputState"> <dataname>mesh_coordinate</dataname> @@ -89,6 +97,25 @@ <to state="timeseries_meshpoint"/> </transition> + <state id="timeseries_meshpoint_presettings" description="timeseries_meshpoint" state="de.intevation.gnv.state.CoordinateSelectionState"> + <queryID>timeseries_meshpoint</queryID> + <dataname>mesh_point</dataname> + <data-multiselect>false</data-multiselect> + <presettings-transfer presetting="geometry" inputvalue="mesh_coordinate"/> + <inputvalues> + <inputvalue name="meshid" type="Integer" multiselect="false"/> + <inputvalue name="mesh_coordinate" type="Coordinate" 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 xlink:href="${artifacts.config.dir}/meshwidth.xml"/> + </state> + + <transition transition="de.intevation.gnv.transition.DefaultTransition"> + <from state="timeseries_meshpoint_presettings"/> + <to state="timeseries_meshpoint_depth"/> + </transition> + <state id="timeseries_meshpoint" description="timeseries_meshpoint" state="de.intevation.gnv.state.CoordinateSelectionState"> <queryID>timeseries_meshpoint</queryID> <dataname>mesh_point</dataname>