comparison flys-artifacts/doc/conf/themes.xml @ 751:8d5bd3a08dd1

merged flys-artifacts/2.4
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:14 +0200
parents 8422ffc1f2f9
children f7761914f745
comparison
equal deleted inserted replaced
618:6fd6c223b81e 751:8d5bd3a08dd1
1 <themes>
2
3 <!-- Concrete themes are following now! -->
4 <theme name="DischargeCurve">
5 <inherits>
6 <inherit from="HiddenColorLines"/>
7 </inherits>
8 </theme>
9
10 <theme name="LongitudinalSectionW">
11 <inherits>
12 <inherit from="HiddenColorLines"/>
13 </inherits>
14 </theme>
15
16 <theme name="LongitudinalSectionQ">
17 <inherits>
18 <inherit from="HiddenColorLines"/>
19 </inherits>
20 </theme>
21
22
23
24 <!-- Virtual themes are following now! -->
25 <theme name="Lines" type="virtual">
26 <fields>
27 <field name="showlines" type="boolean" display="Linie anzeigen" default="true"/>
28 <field name="linesize" type="int" display="Liniendicke" default="1"/>
29 <field name="linetype" type="Dash" display="Linienart" default="new Dash()"/>
30 </fields>
31 </theme>
32
33 <theme name="ColorLines" type="virtual">
34 <inherits>
35 <inherit from="Lines"/>
36 </inherits>
37 <fields>
38 <field name="linecolor" type="Color" display="Linienfarbe" default="Color.BLACK"/>
39 </fields>
40 </theme>
41
42 <theme name="HiddenColorLines" type="virtual">
43 <inherits>
44 <inherit from="ColorLines"/>
45 </inherits>
46 <fields>
47 <field name="showlines" type="boolean" display="Linie anzeigen" default="true" hints="h"/>
48 <field name="linesize" type="int" display="Liniendicke" default="1" hints="h"/>
49 <field name="linetype" type="Dash" display="Linienart" default="new Dash()" hints="h"/>
50 </fields>
51 </theme>
52
53
54
55 <!-- Mappings are following now. A mapping maps between a name of a facet
56 and a theme. -->
57 <mappings>
58 <mapping from="discharge_curve.curve" to="DischargeCurve"/>
59 <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/>
60 <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/>
61 </mappings>
62 </themes>

http://dive4elements.wald.intevation.org