view artifacts/doc/conf/artifacts/sinfo.xml @ 8870:c26fb37899ca

Introduced groups for modules. Modules marked with the same group-id, will be put together in the ui. Also using now the localization info from the server instead of localizing the modules again on the client side.
author gernotbelger
date Wed, 07 Feb 2018 11:59:13 +0100
parents 7bbfb24e6eec
children 7a8c12706834
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="sinfo">

    <states>
        <state id="state.sinfo.river" description="state.sinfo.river" state="org.dive4elements.river.artifacts.states.RiverSelect" helpText="help.state.sinfo.river">
            <data name="river" type="String" />
        </state>
 
        <transition transition="org.dive4elements.river.artifacts.transitions.DefaultTransition">
                <from state="state.sinfo.river"/>
                <to state="state.sinfo.calculation_mode"/>
        </transition>

        <state id="state.sinfo.calculation_mode" description="state.sinfo.calculation_mode" state="org.dive4elements.river.artifacts.sinfo.CalculationSelectSinfo" helpText="help.state.sinfo.calculation_mode">
            <data name="calculation_mode" type="String"/>
        </state>

        <!-- Fliesstiefen -->
        <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
            <from state="state.sinfo.calculation_mode"/>
            <to state="state.sinfo.distance_only"/>
            <condition data="calculation_mode" value="sinfo_calc_flow_depth" operator="equal"/>
        </transition>

        <state id="state.sinfo.distance_only" description="state.sinfo.distance_only" state="org.dive4elements.river.artifacts.states.DistanceOnlySelect" helpText="help.state.sinfo.distance_only">
            <data name="ld_from" type="Double" />
            <data name="ld_to"   type="Double" />
        </state>

        <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
            <from state="state.sinfo.distance_only"/>
            <to state="state.sinfo.waterlevel_soundings_select"/>
            <condition data="calculation_mode" value="sinfo_calc_flow_depth" operator="equal"/>
        </transition>

        <state id="state.sinfo.waterlevel_soundings_select" description="state.sinfo.waterlevel_soundings_select" state="org.dive4elements.river.artifacts.sinfo.flowdepth.FlowDepthPairSelectState" helpText="help.state.sinfo.waterlevel_soundings_select">
            <data name="diffids" type="String" />
        </state>

        <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
            <from state="state.sinfo.waterlevel_soundings_select"/>
            <to state="state.sinfo.use_transport_bodies"/>
            <condition data="calculation_mode" value="sinfo_calc_flow_depth" operator="equal"/>
        </transition>

        <!-- FIXME: Nur Anzeigen, wenn Transportkörperhöhen vorliegen! -->
        <state id="state.sinfo.use_transport_bodies" description="state.sinfo.use_transport_bodies" state="org.dive4elements.river.artifacts.sinfo.flowdepth.UseTransportBodiesChoice" helpText="help.state.sinfo.use_transport_bodies">
            <data name="use_transport_bodies" type="Boolean" />
        </state>

        <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
            <from state="state.sinfo.use_transport_bodies"/>
            <to state="state.sinfo.flow_depth"/>
            <condition data="calculation_mode" value="sinfo_calc_flow_depth" operator="equal"/>
        </transition>

        <state id="state.sinfo.flow_depth" description="state.sinfo.flow_depth" state="org.dive4elements.river.artifacts.sinfo.flowdepth.FlowDepthState" helpText="help.state.sinfo.flow_depth">
            <outputmodes>
                <outputmode name="sinfo_flow_depth" description="output.flow_velocity" mime-type="image/png" type="chart">
                    <facets>
                        <!-- REMARK: id's that ends with 'filtered' are handled differently ' -->
                        <facet name="sinfo_flow_depth.filtered" description="Facet for mean flow depth, filtered by current zoom state"/>

                        <!-- 
                        <facet name="flow_velocity.totalchannel" description="A facet for total channels"/>
                        <facet name="flow_velocity.mainchannel" description="A facet for main channels"/>
                        <facet name="flow_velocity.mainchannel" description="A facet for main channels"/>
                        <facet name="flow_velocity.tau" description="A facet for tau"/>
                        <facet name="flow_velocity.totalchannel.filtered" description="A facet for total channels"/>
                        <facet name="flow_velocity.mainchannel.filtered" description="A facet for main channels"/>
                        <facet name="flow_velocity.tau.filtered" description="A facet for tau"/>
                        <facet name="flow_velocity.discharge" description="A facet for discharges"/>
                        <facet name="flow_velocity.measurement" description="A facet for measured flow velocities"/>
                        <facet name="longitudinal_section.annotations" description="facet.longitudinal_section.annotations"/>
                        <facet name="flow_velocity.manualpoints"/>
                        <facet name="bed_longitudinal_section.diameter.toplayer"/>
                        <facet name="bed_longitudinal_section.diameter.sublayer"/>
                        <facet name="bed_longitudinal_section.diameter.bedload"/>
                         -->
                    </facets>
                </outputmode>

                <outputmode name="sinfo_flowdepth_export" description="output.sinfo_flowdepth_export" mime-type="text/plain" type="export">
                  <facets>
                    <facet name="csv" description="facet.sinfo_flowdepth_export.csv" />
                    <facet name="pdf" description="facet.sinfo_flowdepth_export.pdf" />
                  </facets>
                </outputmode>

                <outputmode name="sinfo_flowdepth_report" description="output.sinfo_flowdepth_report" mime-type="text/xml" type="report">
                  <facets>
                    <facet name="report" description="facet.sinfo_flowdepth_report"/>
                  </facets>
                </outputmode>

            </outputmodes>
        </state>        

    </states>

</artifact>

http://dive4elements.wald.intevation.org