Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/themes.xml @ 1747:d2a17e990c70
Improved the Themes: we now support special themes for facets which need to match a given pattern string.
flys-artifacts/trunk@3047 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 20 Oct 2011 13:45:45 +0000 |
parents | 94faf08d143c |
children | 415ec0223dff |
comparison
equal
deleted
inserted
replaced
1746:94faf08d143c | 1747:d2a17e990c70 |
---|---|
21 <fields> | 21 <fields> |
22 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> | 22 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> |
23 </fields> | 23 </fields> |
24 </theme> | 24 </theme> |
25 | 25 |
26 <theme name="LongitudinalSectionW_HQ1"> | |
27 <inherits> | |
28 <inherit from="LongitudinalSectionW"/> | |
29 </inherits> | |
30 <fields> | |
31 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 102"/> | |
32 </fields> | |
33 </theme> | |
34 | |
35 <theme name="LongitudinalSectionW_HQ2"> | |
36 <inherits> | |
37 <inherit from="LongitudinalSectionW"/> | |
38 </inherits> | |
39 <fields> | |
40 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 102"/> | |
41 </fields> | |
42 </theme> | |
43 | |
44 <theme name="LongitudinalSectionW_HQ5"> | |
45 <inherits> | |
46 <inherit from="LongitudinalSectionW"/> | |
47 </inherits> | |
48 <fields> | |
49 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 153, 51"/> | |
50 </fields> | |
51 </theme> | |
52 | |
53 <theme name="LongitudinalSectionW_HQ10"> | |
54 <inherits> | |
55 <inherit from="LongitudinalSectionW"/> | |
56 </inherits> | |
57 <fields> | |
58 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 204, 204"/> | |
59 </fields> | |
60 </theme> | |
61 | |
62 <theme name="LongitudinalSectionW_HQ20"> | |
63 <inherits> | |
64 <inherit from="LongitudinalSectionW"/> | |
65 </inherits> | |
66 <fields> | |
67 <field name="linecolor" type="Color" display="Linienfarbe" default="153, 153, 0"/> | |
68 </fields> | |
69 </theme> | |
70 | |
71 <theme name="LongitudinalSectionW_HQ25"> | |
72 <inherits> | |
73 <inherit from="LongitudinalSectionW"/> | |
74 </inherits> | |
75 <fields> | |
76 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 51, 0"/> | |
77 </fields> | |
78 </theme> | |
79 | |
80 <theme name="LongitudinalSectionW_HQ50"> | |
81 <inherits> | |
82 <inherit from="LongitudinalSectionW"/> | |
83 </inherits> | |
84 <fields> | |
85 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 153, 153"/> | |
86 </fields> | |
87 </theme> | |
88 | |
89 <theme name="LongitudinalSectionW_HQ100"> | |
90 <inherits> | |
91 <inherit from="LongitudinalSectionW"/> | |
92 </inherits> | |
93 <fields> | |
94 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0, 51"/> | |
95 </fields> | |
96 </theme> | |
97 | |
98 <theme name="LongitudinalSectionW_HQ200"> | |
99 <inherits> | |
100 <inherit from="LongitudinalSectionW"/> | |
101 </inherits> | |
102 <fields> | |
103 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0, 255"/> | |
104 </fields> | |
105 </theme> | |
106 | |
107 <theme name="LongitudinalSectionW_HQ500"> | |
108 <inherits> | |
109 <inherit from="LongitudinalSectionW"/> | |
110 </inherits> | |
111 <fields> | |
112 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 0, 102"/> | |
113 </fields> | |
114 </theme> | |
115 | |
116 <theme name="LongitudinalSectionW_HQ1000"> | |
117 <inherits> | |
118 <inherit from="LongitudinalSectionW"/> | |
119 </inherits> | |
120 <fields> | |
121 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> | |
122 </fields> | |
123 </theme> | |
124 | |
125 <theme name="LongitudinalSectionW_HQRZ"> | |
126 <inherits> | |
127 <inherit from="LongitudinalSectionW"/> | |
128 </inherits> | |
129 <fields> | |
130 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 0, 102"/> | |
131 </fields> | |
132 </theme> | |
133 | |
134 <theme name="LongitudinalSectionW_HSQ"> | |
135 <inherits> | |
136 <inherit from="LongitudinalSectionW"/> | |
137 </inherits> | |
138 <fields> | |
139 <field name="linecolor" type="Color" display="Linienfarbe" default="253, 153, 0"/> | |
140 </fields> | |
141 </theme> | |
142 | |
143 <theme name="LongitudinalSectionW_MHQ"> | |
144 <inherits> | |
145 <inherit from="LongitudinalSectionW"/> | |
146 </inherits> | |
147 <fields> | |
148 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 255, 102"/> | |
149 </fields> | |
150 </theme> | |
151 | |
152 <theme name="LongitudinalSectionW_MNQ"> | |
153 <inherits> | |
154 <inherit from="LongitudinalSectionW"/> | |
155 </inherits> | |
156 <fields> | |
157 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 255, 255"/> | |
158 </fields> | |
159 </theme> | |
160 | |
161 <theme name="LongitudinalSectionW_MQ"> | |
162 <inherits> | |
163 <inherit from="LongitudinalSectionW"/> | |
164 </inherits> | |
165 <fields> | |
166 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 51, 204"/> | |
167 </fields> | |
168 </theme> | |
169 | |
170 <theme name="LongitudinalSectionW_NQ"> | |
171 <inherits> | |
172 <inherit from="LongitudinalSectionW"/> | |
173 </inherits> | |
174 <fields> | |
175 <field name="linecolor" type="Color" display="Linienfarbe" default="153, 204, 255"/> | |
176 </fields> | |
177 </theme> | |
178 | |
179 <theme name="LongitudinalSectionW_HQExtrem"> | |
180 <inherits> | |
181 <inherit from="LongitudinalSectionW"/> | |
182 </inherits> | |
183 <fields> | |
184 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> | |
185 </fields> | |
186 </theme> | |
187 | |
26 <theme name="LongitudinalSectionQ"> | 188 <theme name="LongitudinalSectionQ"> |
27 <inherits> | 189 <inherits> |
28 <inherit from="HiddenColorLines"/> | 190 <inherit from="HiddenColorLines"/> |
29 </inherits> | 191 </inherits> |
30 <fields> | 192 <fields> |
31 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> | 193 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> |
194 </fields> | |
195 </theme> | |
196 | |
197 <theme name="LongitudinalSectionQ_HQ1"> | |
198 <inherits> | |
199 <inherit from="LongitudinalSectionQ"/> | |
200 </inherits> | |
201 <fields> | |
202 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 102"/> | |
203 </fields> | |
204 </theme> | |
205 | |
206 <theme name="LongitudinalSectionQ_HQ2"> | |
207 <inherits> | |
208 <inherit from="LongitudinalSectionQ"/> | |
209 </inherits> | |
210 <fields> | |
211 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 102"/> | |
212 </fields> | |
213 </theme> | |
214 | |
215 <theme name="LongitudinalSectionQ_HQ5"> | |
216 <inherits> | |
217 <inherit from="LongitudinalSectionQ"/> | |
218 </inherits> | |
219 <fields> | |
220 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 153, 51"/> | |
221 </fields> | |
222 </theme> | |
223 | |
224 <theme name="LongitudinalSectionQ_HQ10"> | |
225 <inherits> | |
226 <inherit from="LongitudinalSectionQ"/> | |
227 </inherits> | |
228 <fields> | |
229 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 204, 204"/> | |
230 </fields> | |
231 </theme> | |
232 | |
233 <theme name="LongitudinalSectionQ_HQ20"> | |
234 <inherits> | |
235 <inherit from="LongitudinalSectionQ"/> | |
236 </inherits> | |
237 <fields> | |
238 <field name="linecolor" type="Color" display="Linienfarbe" default="153, 153, 0"/> | |
239 </fields> | |
240 </theme> | |
241 | |
242 <theme name="LongitudinalSectionQ_HQ25"> | |
243 <inherits> | |
244 <inherit from="LongitudinalSectionQ"/> | |
245 </inherits> | |
246 <fields> | |
247 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 51, 0"/> | |
248 </fields> | |
249 </theme> | |
250 | |
251 <theme name="LongitudinalSectionQ_HQ50"> | |
252 <inherits> | |
253 <inherit from="LongitudinalSectionQ"/> | |
254 </inherits> | |
255 <fields> | |
256 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 153, 153"/> | |
257 </fields> | |
258 </theme> | |
259 | |
260 <theme name="LongitudinalSectionQ_HQ100"> | |
261 <inherits> | |
262 <inherit from="LongitudinalSectionQ"/> | |
263 </inherits> | |
264 <fields> | |
265 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0, 51"/> | |
266 </fields> | |
267 </theme> | |
268 | |
269 <theme name="LongitudinalSectionQ_HQ200"> | |
270 <inherits> | |
271 <inherit from="LongitudinalSectionQ"/> | |
272 </inherits> | |
273 <fields> | |
274 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0, 255"/> | |
275 </fields> | |
276 </theme> | |
277 | |
278 <theme name="LongitudinalSectionQ_HQ500"> | |
279 <inherits> | |
280 <inherit from="LongitudinalSectionQ"/> | |
281 </inherits> | |
282 <fields> | |
283 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 0, 102"/> | |
284 </fields> | |
285 </theme> | |
286 | |
287 <theme name="LongitudinalSectionQ_HQ1000"> | |
288 <inherits> | |
289 <inherit from="LongitudinalSectionQ"/> | |
290 </inherits> | |
291 <fields> | |
292 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> | |
293 </fields> | |
294 </theme> | |
295 | |
296 <theme name="LongitudinalSectionQ_HQRZ"> | |
297 <inherits> | |
298 <inherit from="LongitudinalSectionQ"/> | |
299 </inherits> | |
300 <fields> | |
301 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 0, 102"/> | |
302 </fields> | |
303 </theme> | |
304 | |
305 <theme name="LongitudinalSectionQ_HSQ"> | |
306 <inherits> | |
307 <inherit from="LongitudinalSectionQ"/> | |
308 </inherits> | |
309 <fields> | |
310 <field name="linecolor" type="Color" display="Linienfarbe" default="253, 153, 0"/> | |
311 </fields> | |
312 </theme> | |
313 | |
314 <theme name="LongitudinalSectionQ_MHQ"> | |
315 <inherits> | |
316 <inherit from="LongitudinalSectionQ"/> | |
317 </inherits> | |
318 <fields> | |
319 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 255, 102"/> | |
320 </fields> | |
321 </theme> | |
322 | |
323 <theme name="LongitudinalSectionQ_MNQ"> | |
324 <inherits> | |
325 <inherit from="LongitudinalSectionQ"/> | |
326 </inherits> | |
327 <fields> | |
328 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 255, 255"/> | |
329 </fields> | |
330 </theme> | |
331 | |
332 <theme name="LongitudinalSectionQ_MQ"> | |
333 <inherits> | |
334 <inherit from="LongitudinalSectionQ"/> | |
335 </inherits> | |
336 <fields> | |
337 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 51, 204"/> | |
338 </fields> | |
339 </theme> | |
340 | |
341 <theme name="LongitudinalSectionQ_NQ"> | |
342 <inherits> | |
343 <inherit from="LongitudinalSectionQ"/> | |
344 </inherits> | |
345 <fields> | |
346 <field name="linecolor" type="Color" display="Linienfarbe" default="153, 204, 255"/> | |
347 </fields> | |
348 </theme> | |
349 | |
350 <theme name="LongitudinalSectionQ_HQExtrem"> | |
351 <inherits> | |
352 <inherit from="LongitudinalSectionQ"/> | |
353 </inherits> | |
354 <fields> | |
355 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> | |
32 </fields> | 356 </fields> |
33 </theme> | 357 </theme> |
34 | 358 |
35 | 359 |
36 <!-- | 360 <!-- |
210 | 534 |
211 <!-- Mappings are following now. A mapping maps between a name of a facet | 535 <!-- Mappings are following now. A mapping maps between a name of a facet |
212 and a theme. --> | 536 and a theme. --> |
213 <mappings> | 537 <mappings> |
214 <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/> | 538 <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/> |
539 <mapping from="longitudinal_section.w" pattern=".*(HQ1)(\D.*)*" to="LongitudinalSectionW_HQ1"/> | |
540 <mapping from="longitudinal_section.w" pattern=".*(HQ2)(\D.*)*" to="LongitudinalSectionW_HQ2"/> | |
541 <mapping from="longitudinal_section.w" pattern=".*(HQ5)(\D.*)*" to="LongitudinalSectionW_HQ5"/> | |
542 <mapping from="longitudinal_section.w" pattern=".*(HQ10)(\D.*)*" to="LongitudinalSectionW_HQ10"/> | |
543 <mapping from="longitudinal_section.w" pattern=".*(HQ20)(\D.*)*" to="LongitudinalSectionW_HQ20"/> | |
544 <mapping from="longitudinal_section.w" pattern=".*(HQ25)(\D.*)*" to="LongitudinalSectionW_HQ25"/> | |
545 <mapping from="longitudinal_section.w" pattern=".*(HQ50)(\D.*)*" to="LongitudinalSectionW_HQ50"/> | |
546 <mapping from="longitudinal_section.w" pattern=".*(HQ100)(\D.*)*" to="LongitudinalSectionW_HQ100"/> | |
547 <mapping from="longitudinal_section.w" pattern=".*(HQ200)(\D.*)*" to="LongitudinalSectionW_HQ200"/> | |
548 <mapping from="longitudinal_section.w" pattern=".*(HQ500)(\D.*)*" to="LongitudinalSectionW_HQ500"/> | |
549 <mapping from="longitudinal_section.w" pattern=".*(HQ1000)(\D.*)*" to="LongitudinalSectionW_HQ1000"/> | |
550 <mapping from="longitudinal_section.w" pattern=".*(HQExtrem)(\D.*)*" to="LongitudinalSectionW_HQExtrem"/> | |
551 <mapping from="longitudinal_section.w" pattern=".*(HQRZ)(\D.*)*" to="LongitudinalSectionW_HQRZ"/> | |
552 <mapping from="longitudinal_section.w" pattern=".*(HSQ)(\D.*)*" to="LongitudinalSectionW_HSQ"/> | |
553 <mapping from="longitudinal_section.w" pattern=".*(MHQ)(\D.*)*" to="LongitudinalSectionW_MHQ"/> | |
554 <mapping from="longitudinal_section.w" pattern=".*(MNQ)(\D.*)*" to="LongitudinalSectionW_MNQ"/> | |
555 <mapping from="longitudinal_section.w" pattern=".*(MQ)(\D.*)*" to="LongitudinalSectionW_MQ"/> | |
556 <mapping from="longitudinal_section.w" pattern=".*(NQ)(\D.*)*" to="LongitudinalSectionW_NQ"/> | |
215 <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/> | 557 <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/> |
558 <mapping from="longitudinal_section.q" pattern="(HQ1)(\D.*)*" to="LongitudinalSectionQ_HQ1"/> | |
559 <mapping from="longitudinal_section.q" pattern="(HQ2)(\D.*)*" to="LongitudinalSectionQ_HQ2"/> | |
560 <mapping from="longitudinal_section.q" pattern="(HQ5)(\D.*)*" to="LongitudinalSectionQ_HQ5"/> | |
561 <mapping from="longitudinal_section.q" pattern="(HQ10)(\D.*)*" to="LongitudinalSectionQ_HQ10"/> | |
562 <mapping from="longitudinal_section.q" pattern="(HQ20)(\D.*)*" to="LongitudinalSectionQ_HQ20"/> | |
563 <mapping from="longitudinal_section.q" pattern="(HQ25)(\D.*)*" to="LongitudinalSectionQ_HQ25"/> | |
564 <mapping from="longitudinal_section.q" pattern="(HQ50)(\D.*)*" to="LongitudinalSectionQ_HQ50"/> | |
565 <mapping from="longitudinal_section.q" pattern="(HQ100)(\D.*)*" to="LongitudinalSectionQ_HQ100"/> | |
566 <mapping from="longitudinal_section.q" pattern="(HQ200)(\D.*)*" to="LongitudinalSectionQ_HQ200"/> | |
567 <mapping from="longitudinal_section.q" pattern="(HQ500)(\D.*)*" to="LongitudinalSectionQ_HQ500"/> | |
568 <mapping from="longitudinal_section.q" pattern="(HQ1000)(\D.*)*" to="LongitudinalSectionQ_HQ1000"/> | |
569 <mapping from="longitudinal_section.q" pattern="(HQExtrem)(\D.*)*" to="LongitudinalSectionQ_HQExtrem"/> | |
570 <mapping from="longitudinal_section.q" pattern="(HQRZ)(\D.*)*" to="LongitudinalSectionQ_HQRZ"/> | |
571 <mapping from="longitudinal_section.q" pattern="(HSQ)(\D.*)*" to="LongitudinalSectionQ_HSQ"/> | |
572 <mapping from="longitudinal_section.q" pattern="(MHQ)(\D.*)*" to="LongitudinalSectionQ_MHQ"/> | |
573 <mapping from="longitudinal_section.q" pattern="(MNQ)(\D.*)*" to="LongitudinalSectionQ_MNQ"/> | |
574 <mapping from="longitudinal_section.q" pattern="(MQ)(\D.*)*" to="LongitudinalSectionQ_MQ"/> | |
575 <mapping from="longitudinal_section.q" pattern="(NQ)(\D.*)*" to="LongitudinalSectionQ_NQ"/> | |
216 <mapping from="discharge_curve.curve" to="DischargeCurve"/> | 576 <mapping from="discharge_curve.curve" to="DischargeCurve"/> |
217 <mapping from="cross_section" to="CrossSection"/> | 577 <mapping from="cross_section" to="CrossSection"/> |
218 <mapping from="cross_section_water_line" to="CrossSectionWaterLine"/> | 578 <mapping from="cross_section_water_line" to="CrossSectionWaterLine"/> |
219 <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/> | 579 <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/> |
220 <mapping from="duration_curve.w" to="DurationCurveW"/> | 580 <mapping from="duration_curve.w" to="DurationCurveW"/> |