view flys-artifacts/doc/conf/themes.xml @ 1045:ba840385ad2e

flys/issue260: Datacage uses master_artifacts view now. flys-artifacts/trunk@2506 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 18 Aug 2011 14:58:17 +0000
parents f7761914f745
children 0eb585cd3882
line wrap: on
line source
<themes>

    <!-- Concrete themes are following now! -->
    <theme name="DischargeCurve">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>

    <!--
        Discharge Longitudinal Section
    -->
    <theme name="LongitudinalSectionW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>

    <theme name="LongitudinalSectionQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>


    <!--
        Computed Discharge Curves
    -->
    <theme name="ComputedDischargeCurve">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>


    <!--
        Duration Curves
    -->
    <theme name="DurationCurveW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0,51,204"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>

    <theme name="DurationCurveQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0,204,0"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>


    <!--
        Discharge Longitudinal Section
    -->
    <theme name="DischargeLongitudinalSectionW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>


    <theme name="DischargeLongitudinalSectionC">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0 , 0"/>
        </fields>
    </theme>

    <theme name="DischargeLongitudinalSectionQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>


    <!-- Virtual themes are following now! -->
    <theme name="Lines" type="virtual">
        <fields>
            <field name="showlines" type="boolean" display="Linie anzeigen" default="true"/>
            <field name="linesize"  type="int"     display="Liniendicke"    default="1"/>
            <field name="linetype"  type="Dash"    display="Linienart"      default="new Dash()"/>
        </fields>
    </theme>

    <theme name="ColorLines" type="virtual">
        <inherits>
            <inherit from="Lines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="Color.BLACK"/>
        </fields>
    </theme>

    <theme name="HiddenColorLines" type="virtual">
        <inherits>
            <inherit from="ColorLines"/>
        </inherits>
        <fields>
            <field name="showlines" type="boolean" display="Linie anzeigen" default="true"        hints="h"/>
            <field name="linesize"  type="int"     display="Liniendicke"    default="1"           hints="h"/>
            <field name="linetype"  type="Dash"    display="Linienart"      default="new Dash()"  hints="h"/>
        </fields>
    </theme>



    <!-- Mappings are following now. A mapping maps between a name of a facet
         and a theme. -->
    <mappings>
        <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/>
        <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/>
        <mapping from="discharge_curve.curve" to="DischargeCurve"/>
        <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/>
        <mapping from="duration_curve.w" to="DurationCurveW"/>
        <mapping from="duration_curve.q" to="DurationCurveQ"/>
        <mapping from="discharge_longitudinal_section.w" to="DischargeLongitudinalSectionW"/>
        <mapping from="discharge_longitudinal_section.c" to="DischargeLongitudinalSectionC"/>
        <mapping from="discharge_longitudinal_section.q" to="DischargeLongitudinalSectionQ"/>
    </mappings>
</themes>

http://dive4elements.wald.intevation.org