view flys-artifacts/doc/conf/artifacts/winfo.xml @ 1034:bf3b3a8d089b

Slightly improved rendering of annotations in LongitudinalSection-plots. flys-artifacts/trunk@2495 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 16 Aug 2011 11:43:47 +0000
parents 353ddfa231a7
children bfc2ed20b87c
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="winfo">
    <states>

        <state id="state.winfo.river" description="state.winfo.river" state="de.intevation.flys.artifacts.states.RiverSelect">
            <data name="river" type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.river"/>
            <to state="state.winfo.calculation_mode"/>
        </transition>

        <state id="state.winfo.calculation_mode" description="state.winfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelect">
            <data name="calculation_mode"  type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.winfo.calculation_mode"/>
            <to state="state.winfo.location_distance"/>
            <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.winfo.calculation_mode"/>
            <to state="state.winfo.location"/>
            <condition data="calculation_mode" value="calc.discharge.curve" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.winfo.calculation_mode"/>
            <to state="state.winfo.location"/>
            <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.winfo.calculation_mode"/>
            <to state="state.winfo.distance"/>
            <condition data="calculation_mode" value="calc.discharge.longitudinal.section" operator="equal"/>
        </transition>

        <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect">
            <data name="ld_locations" type="Double[]" />

            <outputmodes>
                <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
                    </facets>
                </outputmode>
                <!-- TODO: Do we want an error report? -->
            </outputmodes>
        </state>

        <state id="state.winfo.distance" description="state.winfo.distance" state="de.intevation.flys.artifacts.states.DistanceSelect">
            <data name="ld_from" type="Double" />
            <data name="ld_to"   type="Double" />
            <data name="ld_step" type="Double" />

            <outputmodes>
                <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect">
            <data name="ld_mode" type="String" />
            <data name="ld_locations" type="Double[]" />
            <data name="ld_from" type="Double" />
            <data name="ld_to" type="Double" />
            <data name="ld_step" type="Double" />

            <outputmodes>
                <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
                    </facets>
                </outputmode>
                <!-- TODO: Do we want an error report? -->
            </outputmodes>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.distance"/>
            <to state="state.winfo.wq_adapted"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <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">
            <from state="state.winfo.location"/>
            <to state="state.winfo.durationcurve"/>
            <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.winfo.location"/>
            <to state="state.winfo.computeddischargecurve"/>
            <condition data="calculation_mode" value="calc.discharge.curve" operator="equal"/>
        </transition>

        <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect">
            <data name="wq_mode" type="String" />
            <data name="wq_free" type="Boolean" />
            <data name="wq_selection" type="String" />
            <data name="wq_from" type="Double" />
            <data name="wq_to" type="Double" />
            <data name="wq_step" type="Double" />
            <data name="wq_single" type="Double[]" />
        </state>

        <state id="state.winfo.wq_adapted" description="state.winfo.wq_adapted" state="de.intevation.flys.artifacts.states.WQAdapted">
            <!-- TODO Add data objects -->
            <data name="wq_mode" type="String" />
            <data name="wq_values" type="WQTriple" />
        </state>

        <state id="state.winfo.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState">
            <outputmodes>
                <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="duration_curve.w" description="facet.duration_curve.w"/>
                        <facet name="duration_curve.q" description="facet.duration_curve.q"/>
                    </facets>
                </outputmode>
                <outputmode name="durationcurve_export" description="output.durationcurve_export" mime-type="text/plain" type="export">
                    <facets>
                        <facet name="csv" description="facet.durationcurve_export.csv" />
                    </facets>
                </outputmode>
                <outputmode name="durationcurve_report" description="output.durationcurve_report" mime-type="text/xml" type="report">
                    <facets>
                        <facet name="report" description="facet.durationcurve_export.report" />
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.winfo.computeddischargecurve" description="state.winfo.computeddischargecurve" state="de.intevation.flys.artifacts.states.ComputedDischargeCurveState">
            <outputmodes>
                <outputmode name="computed_discharge_curve" description="output.computed_discharge_curve" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="computed_discharge_curve.q" description="facet.computed_discharge_curve.q"/>
                    </facets>
                </outputmode>
                <outputmode name="computed_dischargecurve_export" description="output.computed_dischargecurve_export" mime-type="text/plain" type="export">
                    <facets>
                        <facet name="csv" description="facet.computed_dischargecurve_export.csv" />
                    </facets>
                </outputmode>
                <outputmode name="computed_dischargecurve_report" description="output.computed_dischargecurve_report" mime-type="text/xml" type="report">
                    <facets>
                        <facet name="report" description="facet.computed_dischargecurve_export.report"/>
                    </facets>
                </outputmode>
                <outputmode name="computed_dischargecurve_at_export" description="output.computed_dischargecurve_at_export" mime-type="text/plain" type="export">
                    <facets>
                        <facet name="at" description="facet.computed_dischargecurve_export.at"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <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">
            <from state="state.winfo.wq_adapted"/>
            <to state="state.winfo.discharge_longitudinal_section"/>
        </transition>

        <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState">
            <outputmodes>
                <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="longitudinal_section.w" description="facet.longitudinal_section.w"/>
                        <facet name="longitudinal_section.q" description="facet.longitudinal_section.q"/>
                    </facets>
                </outputmode>
                <outputmode name="waterlevel_export" description="output.waterlevel_export" mime-type="text/plain" type="export">
                    <facets>
                        <facet name="csv" description="facet.waterlevel_export.csv" />
                        <facet name="wst" description="facet.waterlevel_export.wst" />
                    </facets>
                </outputmode>
                <outputmode name="waterlevel_report" description="output.waterlevel_report" mime-type="text/xml" type="report">
                    <facets>
                        <facet name="report" description="facet.waterlevel_export.report"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.winfo.discharge_longitudinal_section" description="state.winfo.discharge_longitudinal_section" state="de.intevation.flys.artifacts.states.DischargeLongitudinalSection">
            <outputmodes>
                <outputmode name="discharge_longitudinal_section" description="output.discharge_longitudinal_section" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="discharge_longitudinal_section.w"/>
                        <facet name="discharge_longitudinal_section.q"/>
                        <facet name="discharge_longitudinal_section.c"/>
                    </facets>
                </outputmode>
                <outputmode name="discharge_longitudinal_section_export" description="output.discharge_longitudinal_section_export" mime-type="text/plain" type="export">
                    <facets>
                        <facet name="csv" description="facet.discharge_longitudinal_section_export.csv" />
                        <facet name="wst" description="facet.discharge_longitudinal_section_export.wst" />
                    </facets>
                </outputmode>
                <outputmode name="discharge_longitudinal_section_report" description="output.discharge_longitudinal_section_report" mime-type="text/xml" type="report">
                    <facets>
                        <facet name="report" description="facet.discharge_longitudinal_section_export.report"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.waterlevel"/>
            <to state="state.winfo.uesk.dgm"/>
        </transition>

        <state id="state.winfo.uesk.dgm" description="state.winfo.uesk.dgm" state="de.intevation.flys.artifacts.states.DGMSelect">
            <data name="dgm" type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.uesk.dgm"/>
            <to state="state.winfo.uesk.profiles"/>
        </transition>

        <state id="state.winfo.uesk.profiles" description="state.winfo.uesk.profiles" state="de.intevation.flys.artifacts.states.ProfileDistanceSelect">
            <data name="profile_distance" type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.uesk.profiles"/>
            <to state="state.winfo.uesk.floodplain"/>
        </transition>

        <state id="state.winfo.uesk.floodplain" description="state.winfo.uesk.floodplain.description" state="de.intevation.flys.artifacts.states.FloodplainChoice">
            <data name="use_floodplain" type="Boolean" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.uesk.floodplain"/>
            <to state="state.winfo.uesk.differences"/>
        </transition>

        <state id="state.winfo.uesk.differences" description="state.winfo.uesk.differences" state="de.intevation.flys.artifacts.states.WaterlevelGroundDifferences">
            <data name="diff_from" type="Double" />
            <data name="diff_to"   type="Double" />
            <data name="diff_diff" type="Double" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.uesk.differences"/>
            <to state="state.winfo.uesk.scenario"/>
        </transition>

        <state id="state.winfo.uesk.scenario" description="state.winfo.uesk.scenario" state="de.intevation.flys.artifacts.states.ScenarioSelect">
            <data name="scenario" type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.uesk.scenario"/>
            <to state="state.winfo.uesk.uesk"/>
        </transition>

        <state id="state.winfo.uesk.uesk" description="state.winfo.uesk.uesk" state="de.intevation.flys.artifacts.states.FloodMapState">
            <outputmodes>
                <outputmode name="floodmap" description="output.uesk.map.description" type="map">
                    <facets>
                        <facet name="floodmap.wsplgen"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

    </states>
</artifact>

http://dive4elements.wald.intevation.org