ingo@341: <themes> ingo@341: ingo@341: <!-- Concrete themes are following now! --> ingo@341: <theme name="DischargeCurve"> ingo@341: <inherits> ingo@341: <inherit from="HiddenColorLines"/> ingo@341: </inherits> ingo@341: </theme> ingo@341: ingo@363: <theme name="LongitudinalSectionW"> ingo@363: <inherits> ingo@363: <inherit from="HiddenColorLines"/> ingo@363: </inherits> ingo@363: </theme> ingo@363: ingo@363: <theme name="LongitudinalSectionQ"> ingo@363: <inherits> ingo@363: <inherit from="HiddenColorLines"/> ingo@363: </inherits> ingo@363: </theme> ingo@363: ingo@341: ingo@341: ingo@341: <!-- Virtual themes are following now! --> ingo@341: <theme name="Lines" type="virtual"> ingo@341: <fields> ingo@341: <field name="showlines" type="boolean" display="Linie anzeigen" default="true"/> ingo@341: <field name="linesize" type="int" display="Liniendicke" default="1"/> ingo@341: <field name="linetype" type="Dash" display="Linienart" default="new Dash()"/> ingo@341: </fields> ingo@341: </theme> ingo@341: ingo@341: <theme name="ColorLines" type="virtual"> ingo@341: <inherits> ingo@341: <inherit from="Lines"/> ingo@341: </inherits> ingo@341: <fields> ingo@341: <field name="linecolor" type="Color" display="Linienfarbe" default="Color.BLACK"/> ingo@341: </fields> ingo@341: </theme> ingo@341: ingo@341: <theme name="HiddenColorLines" type="virtual"> ingo@341: <inherits> ingo@341: <inherit from="ColorLines"/> ingo@341: </inherits> ingo@341: <fields> ingo@341: <field name="showlines" type="boolean" display="Linie anzeigen" default="true" hints="h"/> ingo@341: <field name="linesize" type="int" display="Liniendicke" default="1" hints="h"/> ingo@341: <field name="linetype" type="Dash" display="Linienart" default="new Dash()" hints="h"/> ingo@341: </fields> ingo@341: </theme> ingo@341: ingo@341: ingo@341: ingo@341: <!-- Mappings are following now. A mapping maps between a name of a facet ingo@341: and a theme. --> ingo@341: <mappings> ingo@341: <mapping from="discharge_curve.curve" to="DischargeCurve"/> ingo@363: <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/> ingo@363: <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/> ingo@341: </mappings> ingo@341: </themes>