view flys-artifacts/doc/conf/themes.xml @ 4269:0c766c475805

Add Panel and Tree UI classes for dispayling the measurement station info The new ui classes are using the new extracted base class InfoPanel and InfoTree which are in common with the gauge info.
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 26 Oct 2012 12:22:06 +0200
parents 5ebaa0a62d2c
children 7140bb0f92b0
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE themes [
    <!ENTITY default-themes SYSTEM "conf/default-themes.xml">
    <!ENTITY second-themes SYSTEM "conf/second-themes.xml">
    <!ENTITY virtual-themes  SYSTEM "conf/virtual-themes.xml">
]>
<themes>
    &default-themes;
    &second-themes;
    &virtual-themes;

	<!-- Mappings are following now. A mapping maps between a name of a facet 
		and a theme. Always the first matching mapping is taken, so consider putting 
		most specific mappings on top of the list. -->
	<mappings>
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ1)(\D.*)*" to="LongitudinalSectionW_HQ1_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ2)(\D.*)*" to="LongitudinalSectionW_HQ2_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ5)(\D.*)*" to="LongitudinalSectionW_HQ5_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ10)(\D.*)*" to="LongitudinalSectionW_HQ10_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ20)(\D.*)*" to="LongitudinalSectionW_HQ20_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ25)(\D.*)*" to="LongitudinalSectionW_HQ25_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ50)(\D.*)*" to="LongitudinalSectionW_HQ50_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ100)(\D.*)*" to="LongitudinalSectionW_HQ100_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ200)(\D.*)*" to="LongitudinalSectionW_HQ200_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ500)(\D.*)*" to="LongitudinalSectionW_HQ500_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQ1000)(\D.*)*" to="LongitudinalSectionW_HQ1000_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQExtrem)(\D.*)*" to="LongitudinalSectionW_HQExtrem_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HQRZ)(\D.*)*" to="LongitudinalSectionW_HQRZ_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(HSQ)(\D.*)*" to="LongitudinalSectionW_HSQ_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(MHQ)(\D.*)*" to="LongitudinalSectionW_MHQ_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(MNQ)(\D.*)*" to="LongitudinalSectionW_MNQ_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(MQ)(\D.*)*" to="LongitudinalSectionW_MQ_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			pattern=".*(NQ)(\D.*)*" to="LongitudinalSectionW_NQ_Points" />
		<mapping from="longitudinal_section.w" masterAttr="ld_mode==location"
			to="LongitudinalSectionPoints" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ1)(\D.*)*"
			to="LongitudinalSectionW_HQ1" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ2)(\D.*)*"
			to="LongitudinalSectionW_HQ2" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ5)(\D.*)*"
			to="LongitudinalSectionW_HQ5" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ10)(\D.*)*"
			to="LongitudinalSectionW_HQ10" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ20)(\D.*)*"
			to="LongitudinalSectionW_HQ20" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ25)(\D.*)*"
			to="LongitudinalSectionW_HQ25" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ50)(\D.*)*"
			to="LongitudinalSectionW_HQ50" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ100)(\D.*)*"
			to="LongitudinalSectionW_HQ100" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ200)(\D.*)*"
			to="LongitudinalSectionW_HQ200" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ500)(\D.*)*"
			to="LongitudinalSectionW_HQ500" />
		<mapping from="longitudinal_section.w" pattern=".*(HQ1000)(\D.*)*"
			to="LongitudinalSectionW_HQ1000" />
		<mapping from="longitudinal_section.w" pattern=".*(HQExtrem)(\D.*)*"
			to="LongitudinalSectionW_HQExtrem" />
		<mapping from="longitudinal_section.w" pattern=".*(HQRZ)(\D.*)*"
			to="LongitudinalSectionW_HQRZ" />
		<mapping from="longitudinal_section.w" pattern=".*(HSQ)(\D.*)*"
			to="LongitudinalSectionW_HSQ" />
		<mapping from="longitudinal_section.w" pattern=".*(MHQ)(\D.*)*"
			to="LongitudinalSectionW_MHQ" />
		<mapping from="longitudinal_section.w" pattern=".*(MNQ)(\D.*)*"
			to="LongitudinalSectionW_MNQ" />
		<mapping from="longitudinal_section.w" pattern=".*(MQ)(\D.*)*"
			to="LongitudinalSectionW_MQ" />
		<mapping from="longitudinal_section.w" pattern=".*(NQ)(\D.*)*"
			to="LongitudinalSectionW_NQ" />
		<mapping from="longitudinal_section.w" to="LongitudinalSectionW" />

		<mapping from="longitudinal_section.q" pattern="(HQ1)(\D.*)*"
			to="LongitudinalSectionQ_HQ1" />
		<mapping from="longitudinal_section.q" pattern="(HQ2)(\D.*)*"
			to="LongitudinalSectionQ_HQ2" />
		<mapping from="longitudinal_section.q" pattern="(HQ5)(\D.*)*"
			to="LongitudinalSectionQ_HQ5" />
		<mapping from="longitudinal_section.q" pattern="(HQ10)(\D.*)*"
			to="LongitudinalSectionQ_HQ10" />
		<mapping from="longitudinal_section.q" pattern="(HQ20)(\D.*)*"
			to="LongitudinalSectionQ_HQ20" />
		<mapping from="longitudinal_section.q" pattern="(HQ25)(\D.*)*"
			to="LongitudinalSectionQ_HQ25" />
		<mapping from="longitudinal_section.q" pattern="(HQ50)(\D.*)*"
			to="LongitudinalSectionQ_HQ50" />
		<mapping from="longitudinal_section.q" pattern="(HQ100)(\D.*)*"
			to="LongitudinalSectionQ_HQ100" />
		<mapping from="longitudinal_section.q" pattern="(HQ200)(\D.*)*"
			to="LongitudinalSectionQ_HQ200" />
		<mapping from="longitudinal_section.q" pattern="(HQ500)(\D.*)*"
			to="LongitudinalSectionQ_HQ500" />
		<mapping from="longitudinal_section.q" pattern="(HQ1000)(\D.*)*"
			to="LongitudinalSectionQ_HQ1000" />
		<mapping from="longitudinal_section.q" pattern="(HQExtrem)(\D.*)*"
			to="LongitudinalSectionQ_HQExtrem" />
		<mapping from="longitudinal_section.q" pattern="(HQRZ)(\D.*)*"
			to="LongitudinalSectionQ_HQRZ" />
		<mapping from="longitudinal_section.q" pattern="(HSQ)(\D.*)*"
			to="LongitudinalSectionQ_HSQ" />
		<mapping from="longitudinal_section.q" pattern="(MHQ)(\D.*)*"
			to="LongitudinalSectionQ_MHQ" />
		<mapping from="longitudinal_section.q" pattern="(MNQ)(\D.*)*"
			to="LongitudinalSectionQ_MNQ" />
		<mapping from="longitudinal_section.q" pattern="(MQ)(\D.*)*"
			to="LongitudinalSectionQ_MQ" />
		<mapping from="longitudinal_section.q" pattern="(NQ)(\D.*)*"
			to="LongitudinalSectionQ_NQ" />
		<mapping from="longitudinal_section.q" to="LongitudinalSectionQ" />

		<mapping from="discharge_curve.curve" to="DischargeCurve" />
		<mapping from="historical_discharge.historicalq" to="HistoricalDischargeCurveQ" />
		<mapping from="historical_discharge.historicalq.diff" to="HistoricalDischargeCurveQDiff" />
		<mapping from="historical_discharge.historicalw" to="HistoricalDischargeCurveW" />
		<mapping from="historical_discharge.historicalw.diff" to="HistoricalDischargeCurveWDiff" />
		<mapping from="historical_discharge.wq.curve" to="HistoricalDischargeWQCurve" />
		<mapping from="cross_section" to="CrossSection" />
		<mapping from="cross_section_water_line" to="CrossSectionWaterLine" />
		<mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve" />
		<mapping from="duration_curve.w" to="DurationCurveW" />
		<mapping from="duration_curve.q" to="DurationCurveQ" />
		<mapping from="discharge_longitudinal_section.w" to="DischargeLongitudinalSectionW" />
		<mapping from="discharge_longitudinal_section.c" to="DischargeLongitudinalSectionC" />
		<mapping from="discharge_longitudinal_section.q" to="DischargeLongitudinalSectionQ" />
		<mapping from="computed_discharge_curve.mainvalues.q" to="MainValuesQ" />
		<mapping from="computed_discharge_curve.mainvalues.w" to="MainValuesW" />
		<mapping from="duration_curve.mainvalues.q" to="MainValuesQ" />
		<mapping from="mainvalues.q" to="MainValuesQ" />
		<mapping from="mainvalues.w" to="MainValuesW" />
		<mapping from="longitudinal_section.annotations" to="Annotations" />
		<mapping from="w_differences" to="Differences" />
		<mapping from="floodmap.wsplgen" to="WSPLGEN" />
		<mapping from="floodmap.riveraxis" to="RiverAxis" />
		<mapping from="floodmap.kms" to="Kms" />
		<mapping from="floodmap.qps" to="Qps" />
		<mapping from="floodmap.hws" to="Hws" />
		<mapping from="floodmap.hydr_boundaries" to="HydrBoundariesLines" />
		<mapping from="floodmap.hydr_boundaries_poly" to="HydrBoundariesPolys" />
		<mapping from="floodmap.catchment" to="Catchment" />
		<mapping from="floodmap.floodplain" to="Floodplains" />
		<mapping from="floodmap.lines" to="FloodmapLines" />
		<mapping from="floodmap.buildings" to="Buildings" />
		<mapping from="floodmap.fixpoints" to="Fixpoints" />
		<mapping from="floodmap.floodmaps" to="Floodmaps" />
		<mapping from="floodmap.gauge_location" to="GaugeLocation" />
		<mapping from="other.wq" to="WQPoints" />
		<mapping from="other.wkms" to="WKms" />
		<mapping from="other.wkms.marks" to="WKmsAnnotation" />
		<mapping from="other.wqkms" to="WQKms" />
		<mapping from="other.wqkms.w" to="WQKms" />
		<mapping from="other.wqkms.q" to="WQKms" />
		<mapping from="heightmarks_points" to="heightmarks_points" />
		<mapping from="area" to="Area" />
		<mapping from="cross_section.area" to="Area" />
		<mapping from="hyk" to="Hyk" />
		<mapping from="longitudinal_section.area" to="Area" />
		<mapping from="longitudinal_section.manualpoints" to="ManualPoints" />
		<mapping from="cross_section.manualpoints" to="ManualPoints" />
		<mapping from="cross_section.manualline" to="CrossSectionWaterLine" />
		<mapping from="computed_discharge_curve.manualpoints" to="ManualPoints" />
		<mapping from="duration_curve.manualpoints" to="ManualPoints" />
		<mapping from="wdifferences.manualpoints" to="ManualPoints" />
		<mapping from="discharge_longitudinal_section.manualpoints"
			to="ManualPoints" />
		<mapping from="discharge_curve.manualpoints" to="ManualPoints" />
		<mapping from="reference_curve.manualpoints" to="ManualPoints" />
		<mapping from="reference_curve_normalized.manualpoints" to="ManualPoints" />
		<mapping from="historical_discharge.manualpoints" to="ManualPoints" />
		<mapping from="manualpoints" to="ManualPoints" />
		<mapping from="reference_curve" to="ReferenceCurve" />
		<mapping from="reference_curve_normalized" to="ReferenceCurveNormalized" />
		<mapping from="flow_velocity.totalchannel" to="FlowVelocityVTotalChannel" />
		<mapping from="flow_velocity.mainchannel" to="FlowVelocityVMainChannel" />
		<mapping from="flow_velocity.tau" to="FlowVelocityTau" />
		<mapping from="bedheight_middle.single" to="MiddleBedHeightSingle" />
		<mapping from="bedheight_middle.epoch" to="MiddleBedHeightEpoch" />
		<mapping from="bed_longitudinal_section.porosity_toplayer" to="PorosityTopLayer" />
		<mapping from="bed_longitudinal_section.porosity_sublayer" to="PorositySubLayer" />
		<mapping from="bed_longitudinal_section.sediment_density_toplayer" to="DensityTopLayer" />
		<mapping from="bed_longitudinal_section.sediment_density_sublayer" to="DensitySublayer" />
		<mapping from="bed_longitudinal_section.bed_diameter_toplayer" to="BedDiameterTopLayer" />
		<mapping from="bed_longitudinal_section.bed_diameter_sublayer" to="BedDiameterSubLayer" />
		<mapping from="bed_longitudinal_section.bedload_diameter" to="BedLoadDiameter" />
		<mapping from="bedheight_difference.year" to="BedheightDiffYear"/>
		<mapping from="bedheight_difference.morph_width" to="BedheightDiffMorphWidth"/>
		<mapping from="bedheight_difference.epoch" to="BedheightDiffEpoch"/>
		<mapping from="bedheight_difference.year.height1" to="BedheightDiffAbsHeight1"/>
		<mapping from="bedheight_difference.year.height2" to="BedheightDiffAbsHeight2"/>
		<mapping from="bedheight_difference.epoch.height1" to="BedheightDiffAbsHeight1"/>
		<mapping from="bedheight_difference.epoch.height2" to="BedheightDiffAbsHeight2"/>
		<mapping from="bedheight_difference.height_year" to="BedheightDiffHeightYear"/>
		<mapping from="relativepoint" to="RelativePoint" />
		<mapping from="sq_a_measurement" to="SQMeasurements" />
		<mapping from="sq_a_outlier" to="SQOutliers" />
		<mapping from="sq_a_curve" to="SQCurve" />
		<mapping from="sq_a_outlier_curve" to="SQCurve" />
		<mapping from="sq_a_outlier_measurement" to="SQMeasurements" />
		<mapping from="sq_b_measurement" to="SQMeasurements" />
		<mapping from="sq_b_outlier" to="SQOutliers" />
		<mapping from="sq_b_curve" to="SQCurve" />
		<mapping from="sq_b_outlier_curve" to="SQCurve" />
		<mapping from="sq_b_outlier_measurement" to="SQMeasurements" />
		<mapping from="sq_c_measurement" to="SQMeasurements" />
		<mapping from="sq_c_outlier" to="SQOutliers" />
		<mapping from="sq_c_curve" to="SQCurve" />
		<mapping from="sq_c_outlier_curve" to="SQCurve" />
		<mapping from="sq_c_outlier_measurement" to="SQMeasurements" />
		<mapping from="sq_d_measurement" to="SQMeasurements" />
		<mapping from="sq_d_outlier" to="SQOutliers" />
		<mapping from="sq_d_curve" to="SQCurve" />
		<mapping from="sq_d_outlier_curve" to="SQCurve" />
		<mapping from="sq_d_outlier_measurement" to="SQMeasurements" />
		<mapping from="sq_e_measurement" to="SQMeasurements" />
		<mapping from="sq_e_outlier" to="SQOutliers" />
		<mapping from="sq_e_curve" to="SQCurve" />
		<mapping from="sq_e_outlier_curve" to="SQCurve" />
		<mapping from="sq_e_outlier_measurement" to="SQMeasurements" />
		<mapping from="sq_f_measurement" to="SQMeasurements" />
		<mapping from="sq_f_outlier" to="SQOutliers" />
		<mapping from="sq_f_curve" to="SQCurve" />
		<mapping from="sq_f_outlier_curve" to="SQCurve" />
		<mapping from="sq_f_outlier_measurement" to="SQMeasurements" />
		<mapping from="fix_sector_average_wq_0" to="FixingSectorAverageWQ0" />
		<mapping from="fix_sector_average_wq_1" to="FixingSectorAverageWQ1" />
		<mapping from="fix_sector_average_wq_2" to="FixingSectorAverageWQ2" />
		<mapping from="fix_sector_average_wq_3" to="FixingSectorAverageWQ3" />
		<mapping from="fix_analysis_events_wq" to="FixingAnalysisEventsWQ" />
		<mapping from="fix_outlier" to="FixingOutlier" />
		<mapping from="fix_wq_curve" to="FixingWQCurve" />
		<mapping from="fix_reference_events_wq" to="FixingReferenceEvents" />
		<mapping from="fix_sector_average_dwt_0" to="FixingDeltaWtAverage0" />
		<mapping from="fix_sector_average_dwt_1" to="FixingDeltaWtAverage1" />
		<mapping from="fix_sector_average_dwt_2" to="FixingDeltaWtAverage2" />
		<mapping from="fix_sector_average_dwt_3" to="FixingDeltaWtAverage3" />
		<mapping from="fix_analysis_events_dwt" to="FixingDeltaWtAnalysis" />
		<mapping from="fix_analysis_periods_dwt" to="FixingDeltaWtAnalysisPeriods" />
		<mapping from="fix_reference_events_dwt" to="FixingReferenceEvents" />
        <mapping from="fix_reference_period_dwt" to="FixingReferencePeriod" />
		<mapping from="fix_sector_average_ls_deviation_0" to="FixingSectorDeviationLS0" />
		<mapping from="fix_sector_average_ls_deviation_1" to="FixingSectorDeviationLS1" />
		<mapping from="fix_sector_average_ls_deviation_2" to="FixingSectorDeviationLS2" />
		<mapping from="fix_sector_average_ls_deviation_3" to="FixingSectorDeviationLS3" />
		<mapping from="fix_sector_average_ls_0" to="FixingLSAverage0" />
		<mapping from="fix_sector_average_ls_1" to="FixingLSAverage1" />
		<mapping from="fix_sector_average_ls_2" to="FixingLSAverage2" />
		<mapping from="fix_sector_average_ls_3" to="FixingLSAverage3" />
		<mapping from="fix_deviation_ls" to="FixLSDeviation" />
		<mapping from="fix_deviation_dwt" to="FixDeltaWtDeviation" />
		<mapping from="fix_analysis_events_ls" to="FixLSAnalysis" />
		<mapping from="fix_reference_events_ls" to="FixLSReference" />
		<mapping from="fix_derivate_curve" to="FixingDerivedCurve" />
		<mapping from="fix_derivate_curve.manualpoints" to="ManualPoints" />
		<mapping from="fix_deltawt_curve.manualpoints" to="ManualPoints" />
		<mapping from="qsectors" to="QSectors" />
		<mapping from="gauge_discharge_curve" to="GaugeDischargeCurve" />
	</mappings>
</themes>

http://dive4elements.wald.intevation.org