view flys-artifacts/doc/conf/artifacts/chart.xml @ 2124:a202a9e048a5

Made StaticWQKmsArtifact a fully featured Artifact. flys-artifacts/trunk@3694 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 17 Jan 2012 08:17:50 +0000
parents d109e7702995
children e8fc770d2f8c
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="new_chart">
    <states>
         <state id="state.chart.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.chart.river"/>
             <to state="state.chart.type"/>
         </transition>

         <state id="state.chart.type" description="state.chart.type" state="de.intevation.flys.artifacts.ChartArtifact$ChartState">
            <data name="chart_type" type="String" />
         </state>

         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.chart.type"/>
             <to state="state.chart.w_differences"/>
             <condition data="chart_type" value="new.chart.w_differences" operator="equals"/>
         </transition>

         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.chart.type"/>
             <to state="state.chart.durationcurve"/>
             <condition data="chart_type" value="new.chart.durationcurve" operator="equals"/>
         </transition>

         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.chart.type"/>
             <to state="state.chart.computeddischargecurve"/>
             <condition data="chart_type" value="new.chart.computeddischargecurve" operator="equals"/>
         </transition>

         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.chart.type"/>
             <to state="state.chart.waterlevel"/>
             <condition data="chart_type" value="new.chart.waterlevel" operator="equals"/>
         </transition>

         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.chart.type"/>
             <to state="state.chart.discharge_longitudinal_section"/>
             <condition data="chart_type" value="new.chart.discharge_longitudinal_section" operator="equals"/>
         </transition>

         <state id="state.chart.w_differences" description="state.winfo.w_differences" state="de.intevation.flys.artifacts.states.WDifferencesState">
            <outputmodes>
                <outputmode name="w_differences" description="output.w_differences" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="longitudinal_section.q" description="facet.longitudinal_section.q"/>
                        <facet name="longitudinal_section.w" description="facet.longitudinal_section.w"/>
                        <facet name="w_differences" description="facet.w_differences"/>
                        <facet name="other.wkms" description="facet.other.wkms"/>
                        <facet name="other.wqkms" description="facet.other.wqkms"/>
                        <facet name="heightmarks_points" description="facet.other.wkms.heightmarks_points"/>
                        <facet name="longitudinal_section.annotations" description="facet.longitudinal_section.annotations"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.chart.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"/>
                        <facet name="computed_discharge_curve.mainvalues.q" description="Q Main Values"/>
                        <facet name="computed_discharge_curve.mainvalues.w" description="W Main Values"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.chart.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"/>
                        <facet name="computed_discharge_curve.mainvalues.q" description="facet.computed_discharge_curve.mainvalues.q"/>
                        <facet name="computed_discharge_curve.mainvalues.w" description="facet.computed_discharge_curve.mainvalues.w"/>
                        <facet name="other.wqkms" description="facet.other.wqkms"/>
                        <facet name="other.wq"    description="Point-like data like fixations"/>
                        <facet name="other.wq"    description="Point-like data like fixations"/>
                        <facet name="other.wkms.interpol" description="Height over km, like flood protections."/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.chart.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"/>
                    <facet name="w_differences"          description="facet.w_differences"/>
                    <facet name="other.wkms"             description="facet.other.wkms"/>
                    <facet name="other.wqkms"             description="facet.other.wqkms"/>
                    <facet name="heightmarks_points" description="facet.other.wkms.heightmarks_points"/>
                    <facet name="longitudinal_section.area"        description="an area"/>
                    <facet name="longitudinal_section.annotations" description="facet.longitudinal_section.annotations"/>
                  </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.chart.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"/>
                        <facet name="other.wqkms"/>
                        <facet name="other.wkms"/>
                        <facet name="heightmarks_points"/>
                        <facet name="longitudinal_section.annotations"/>
                        <facet name="longitudinal_section.w"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>
    </states>
</artifact>

http://dive4elements.wald.intevation.org