Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/themes.xml @ 1822:6ed439ff61bf
Changed theme-mapping mechanism to include further condition (on master-artifacts attributes), added point themes for longitudinal.ws for calculations at locations.
flys-artifacts/trunk@3151 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 03 Nov 2011 10:25:23 +0000 |
parents | 5364b86a0880 |
children | 03f129fa0256 |
comparison
equal
deleted
inserted
replaced
1821:e55f1a851923 | 1822:6ed439ff61bf |
---|---|
183 <fields> | 183 <fields> |
184 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> | 184 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> |
185 </fields> | 185 </fields> |
186 </theme> | 186 </theme> |
187 | 187 |
188 <theme name="LongitudinalSectionPoints"> | |
189 <inherits> | |
190 <inherit from="LongitudinalSectionW"/> | |
191 </inherits> | |
192 <fields> | |
193 <field name="showlines" type="boolean" display="Linie anzeigen" default="false"/> | |
194 <field name="showpoints" type="boolean" display="Punkte anzeigen" default="true"/> | |
195 </fields> | |
196 </theme> | |
197 | |
198 <theme name="LongitudinalSectionW_HQ1_Points"> | |
199 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
200 <fields> | |
201 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 102"/> | |
202 </fields> | |
203 </theme> | |
204 | |
205 <theme name="LongitudinalSectionW_HQ2_Points"> | |
206 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
207 <fields> | |
208 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 102"/> | |
209 </fields> | |
210 </theme> | |
211 | |
212 <theme name="LongitudinalSectionW_HQ5_Points"> | |
213 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
214 <fields> | |
215 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 153, 51"/> | |
216 </fields> | |
217 </theme> | |
218 | |
219 <theme name="LongitudinalSectionW_HQ10_Points"> | |
220 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
221 <fields> | |
222 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 204, 204"/> | |
223 </fields> | |
224 </theme> | |
225 | |
226 <theme name="LongitudinalSectionW_HQ20_Points"> | |
227 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
228 <fields> | |
229 <field name="linecolor" type="Color" display="Linienfarbe" default="153, 153, 0"/> | |
230 </fields> | |
231 </theme> | |
232 | |
233 <theme name="LongitudinalSectionW_HQ25_Points"> | |
234 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
235 <fields> | |
236 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 51, 0"/> | |
237 </fields> | |
238 </theme> | |
239 | |
240 <theme name="LongitudinalSectionW_HQ50_Points"> | |
241 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
242 <fields> | |
243 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 153, 153"/> | |
244 </fields> | |
245 </theme> | |
246 | |
247 <theme name="LongitudinalSectionW_HQ100_Points"> | |
248 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
249 <fields> | |
250 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0, 51"/> | |
251 </fields> | |
252 </theme> | |
253 | |
254 <theme name="LongitudinalSectionW_HQ200_Points"> | |
255 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
256 <fields> | |
257 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0, 255"/> | |
258 </fields> | |
259 </theme> | |
260 | |
261 <theme name="LongitudinalSectionW_HQ500_Points"> | |
262 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
263 <fields> | |
264 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 0, 102"/> | |
265 </fields> | |
266 </theme> | |
267 | |
268 <theme name="LongitudinalSectionW_HQ1000_Points"> | |
269 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
270 <fields> | |
271 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> | |
272 </fields> | |
273 </theme> | |
274 | |
275 <theme name="LongitudinalSectionW_HQRZ_Points"> | |
276 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
277 <fields> | |
278 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 0, 102"/> | |
279 </fields> | |
280 </theme> | |
281 | |
282 <theme name="LongitudinalSectionW_HSQ_Points"> | |
283 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
284 <fields> | |
285 <field name="linecolor" type="Color" display="Linienfarbe" default="253, 153, 0"/> | |
286 </fields> | |
287 </theme> | |
288 | |
289 <theme name="LongitudinalSectionW_MHQ_Points"> | |
290 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
291 <fields> | |
292 <field name="linecolor" type="Color" display="Linienfarbe" default="102, 255, 102"/> | |
293 </fields> | |
294 </theme> | |
295 | |
296 <theme name="LongitudinalSectionW_MNQ_Points"> | |
297 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
298 <fields> | |
299 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 255, 255"/> | |
300 </fields> | |
301 </theme> | |
302 | |
303 <theme name="LongitudinalSectionW_MQ_Points"> | |
304 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
305 <fields> | |
306 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 51, 204"/> | |
307 </fields> | |
308 </theme> | |
309 | |
310 <theme name="LongitudinalSectionW_NQ_Points"> | |
311 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
312 <fields> | |
313 <field name="linecolor" type="Color" display="Linienfarbe" default="153, 204, 255"/> | |
314 </fields> | |
315 </theme> | |
316 | |
317 <theme name="LongitudinalSectionW_HQExtrem_Points"> | |
318 <inherits><inherit from="LongitudinalSectionPoints"/></inherits> | |
319 <fields> | |
320 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/> | |
321 </fields> | |
322 </theme> | |
323 | |
324 <!-- | |
325 Longitudinal Section Q's | |
326 --> | |
327 | |
188 <theme name="LongitudinalSectionQ"> | 328 <theme name="LongitudinalSectionQ"> |
189 <inherits> | 329 <inherits> |
190 <inherit from="HiddenColorLines"/> | 330 <inherit from="HiddenColorLines"/> |
191 </inherits> | 331 </inherits> |
192 <fields> | 332 <fields> |
575 <field name="symbol" type="Symbol" display="Symbol" default="square"/> | 715 <field name="symbol" type="Symbol" display="Symbol" default="square"/> |
576 </fields> | 716 </fields> |
577 </theme> | 717 </theme> |
578 | 718 |
579 | 719 |
580 <!-- Mappings are following now. A mapping maps between a name of a facet | 720 <!-- |
581 and a theme. --> | 721 Mappings are following now. A mapping maps between a name of a facet |
722 and a theme. | |
723 Always the first matching mapping is taken, so consider putting most | |
724 specific mappings on top of the list. | |
725 --> | |
582 <mappings> | 726 <mappings> |
583 <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/> | 727 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ1)(\D.*)*" to="LongitudinalSectionW_HQ1_Points"/> |
728 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ2)(\D.*)*" to="LongitudinalSectionW_HQ2_Points"/> | |
729 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ5)(\D.*)*" to="LongitudinalSectionW_HQ5_Points"/> | |
730 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ10)(\D.*)*" to="LongitudinalSectionW_HQ10_Points"/> | |
731 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ20)(\D.*)*" to="LongitudinalSectionW_HQ20_Points"/> | |
732 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ25)(\D.*)*" to="LongitudinalSectionW_HQ25_Points"/> | |
733 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ50)(\D.*)*" to="LongitudinalSectionW_HQ50_Points"/> | |
734 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ100)(\D.*)*" to="LongitudinalSectionW_HQ100_Points"/> | |
735 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ200)(\D.*)*" to="LongitudinalSectionW_HQ200_Points"/> | |
736 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ500)(\D.*)*" to="LongitudinalSectionW_HQ500_Points"/> | |
737 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQ1000)(\D.*)*" to="LongitudinalSectionW_HQ1000_Points"/> | |
738 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQExtrem)(\D.*)*" to="LongitudinalSectionW_HQExtrem_Points"/> | |
739 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HQRZ)(\D.*)*" to="LongitudinalSectionW_HQRZ_Points"/> | |
740 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(HSQ)(\D.*)*" to="LongitudinalSectionW_HSQ_Points"/> | |
741 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(MHQ)(\D.*)*" to="LongitudinalSectionW_MHQ_Points"/> | |
742 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(MNQ)(\D.*)*" to="LongitudinalSectionW_MNQ_Points"/> | |
743 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(MQ)(\D.*)*" to="LongitudinalSectionW_MQ_Points"/> | |
744 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" pattern=".*(NQ)(\D.*)*" to="LongitudinalSectionW_NQ_Points"/> | |
745 <mapping from="longitudinal_section.w" masterAttr="ld_mode==location" to="LongitudinalSectionPoints"/> | |
584 <mapping from="longitudinal_section.w" pattern=".*(HQ1)(\D.*)*" to="LongitudinalSectionW_HQ1"/> | 746 <mapping from="longitudinal_section.w" pattern=".*(HQ1)(\D.*)*" to="LongitudinalSectionW_HQ1"/> |
585 <mapping from="longitudinal_section.w" pattern=".*(HQ2)(\D.*)*" to="LongitudinalSectionW_HQ2"/> | 747 <mapping from="longitudinal_section.w" pattern=".*(HQ2)(\D.*)*" to="LongitudinalSectionW_HQ2"/> |
586 <mapping from="longitudinal_section.w" pattern=".*(HQ5)(\D.*)*" to="LongitudinalSectionW_HQ5"/> | 748 <mapping from="longitudinal_section.w" pattern=".*(HQ5)(\D.*)*" to="LongitudinalSectionW_HQ5"/> |
587 <mapping from="longitudinal_section.w" pattern=".*(HQ10)(\D.*)*" to="LongitudinalSectionW_HQ10"/> | 749 <mapping from="longitudinal_section.w" pattern=".*(HQ10)(\D.*)*" to="LongitudinalSectionW_HQ10"/> |
588 <mapping from="longitudinal_section.w" pattern=".*(HQ20)(\D.*)*" to="LongitudinalSectionW_HQ20"/> | 750 <mapping from="longitudinal_section.w" pattern=".*(HQ20)(\D.*)*" to="LongitudinalSectionW_HQ20"/> |
597 <mapping from="longitudinal_section.w" pattern=".*(HSQ)(\D.*)*" to="LongitudinalSectionW_HSQ"/> | 759 <mapping from="longitudinal_section.w" pattern=".*(HSQ)(\D.*)*" to="LongitudinalSectionW_HSQ"/> |
598 <mapping from="longitudinal_section.w" pattern=".*(MHQ)(\D.*)*" to="LongitudinalSectionW_MHQ"/> | 760 <mapping from="longitudinal_section.w" pattern=".*(MHQ)(\D.*)*" to="LongitudinalSectionW_MHQ"/> |
599 <mapping from="longitudinal_section.w" pattern=".*(MNQ)(\D.*)*" to="LongitudinalSectionW_MNQ"/> | 761 <mapping from="longitudinal_section.w" pattern=".*(MNQ)(\D.*)*" to="LongitudinalSectionW_MNQ"/> |
600 <mapping from="longitudinal_section.w" pattern=".*(MQ)(\D.*)*" to="LongitudinalSectionW_MQ"/> | 762 <mapping from="longitudinal_section.w" pattern=".*(MQ)(\D.*)*" to="LongitudinalSectionW_MQ"/> |
601 <mapping from="longitudinal_section.w" pattern=".*(NQ)(\D.*)*" to="LongitudinalSectionW_NQ"/> | 763 <mapping from="longitudinal_section.w" pattern=".*(NQ)(\D.*)*" to="LongitudinalSectionW_NQ"/> |
602 <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/> | 764 <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/> |
765 | |
603 <mapping from="longitudinal_section.q" pattern="(HQ1)(\D.*)*" to="LongitudinalSectionQ_HQ1"/> | 766 <mapping from="longitudinal_section.q" pattern="(HQ1)(\D.*)*" to="LongitudinalSectionQ_HQ1"/> |
604 <mapping from="longitudinal_section.q" pattern="(HQ2)(\D.*)*" to="LongitudinalSectionQ_HQ2"/> | 767 <mapping from="longitudinal_section.q" pattern="(HQ2)(\D.*)*" to="LongitudinalSectionQ_HQ2"/> |
605 <mapping from="longitudinal_section.q" pattern="(HQ5)(\D.*)*" to="LongitudinalSectionQ_HQ5"/> | 768 <mapping from="longitudinal_section.q" pattern="(HQ5)(\D.*)*" to="LongitudinalSectionQ_HQ5"/> |
606 <mapping from="longitudinal_section.q" pattern="(HQ10)(\D.*)*" to="LongitudinalSectionQ_HQ10"/> | 769 <mapping from="longitudinal_section.q" pattern="(HQ10)(\D.*)*" to="LongitudinalSectionQ_HQ10"/> |
607 <mapping from="longitudinal_section.q" pattern="(HQ20)(\D.*)*" to="LongitudinalSectionQ_HQ20"/> | 770 <mapping from="longitudinal_section.q" pattern="(HQ20)(\D.*)*" to="LongitudinalSectionQ_HQ20"/> |
616 <mapping from="longitudinal_section.q" pattern="(HSQ)(\D.*)*" to="LongitudinalSectionQ_HSQ"/> | 779 <mapping from="longitudinal_section.q" pattern="(HSQ)(\D.*)*" to="LongitudinalSectionQ_HSQ"/> |
617 <mapping from="longitudinal_section.q" pattern="(MHQ)(\D.*)*" to="LongitudinalSectionQ_MHQ"/> | 780 <mapping from="longitudinal_section.q" pattern="(MHQ)(\D.*)*" to="LongitudinalSectionQ_MHQ"/> |
618 <mapping from="longitudinal_section.q" pattern="(MNQ)(\D.*)*" to="LongitudinalSectionQ_MNQ"/> | 781 <mapping from="longitudinal_section.q" pattern="(MNQ)(\D.*)*" to="LongitudinalSectionQ_MNQ"/> |
619 <mapping from="longitudinal_section.q" pattern="(MQ)(\D.*)*" to="LongitudinalSectionQ_MQ"/> | 782 <mapping from="longitudinal_section.q" pattern="(MQ)(\D.*)*" to="LongitudinalSectionQ_MQ"/> |
620 <mapping from="longitudinal_section.q" pattern="(NQ)(\D.*)*" to="LongitudinalSectionQ_NQ"/> | 783 <mapping from="longitudinal_section.q" pattern="(NQ)(\D.*)*" to="LongitudinalSectionQ_NQ"/> |
784 <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/> | |
621 <mapping from="discharge_curve.curve" to="DischargeCurve"/> | 785 <mapping from="discharge_curve.curve" to="DischargeCurve"/> |
622 <mapping from="cross_section" to="CrossSection"/> | 786 <mapping from="cross_section" to="CrossSection"/> |
623 <mapping from="cross_section_water_line" to="CrossSectionWaterLine"/> | 787 <mapping from="cross_section_water_line" to="CrossSectionWaterLine"/> |
624 <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/> | 788 <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/> |
625 <mapping from="duration_curve.w" to="DurationCurveW"/> | 789 <mapping from="duration_curve.w" to="DurationCurveW"/> |