view flys-artifacts/doc/conf/themes.xml @ 363:8422ffc1f2f9

Added themes and mappings for the W and Q theme of a longitudinal section curve. flys-artifacts/trunk@1771 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 29 Apr 2011 08:02:54 +0000
parents eca7892bf8ff
children f7761914f745
line wrap: on
line source
<themes>

    <!-- Concrete themes are following now! -->
    <theme name="DischargeCurve">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
    </theme>

    <theme name="LongitudinalSectionW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
    </theme>

    <theme name="LongitudinalSectionQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
    </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="discharge_curve.curve" to="DischargeCurve"/>
        <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/>
        <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/>
    </mappings>
</themes>

http://dive4elements.wald.intevation.org