[PATCH 6 of 9] Migrate discharge_longitudinal_section generator to the new architecture

Wald Commits scm-commit at wald.intevation.org
Tue Sep 24 11:44:03 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1380015487 -7200
# Branch generator-refactoring
# Node ID 9b47381e5fd7fa120e33eb9cce1c810a975ee263
# Parent  5b20cf9926b7524391e965793ac737e07e3b929f
Migrate discharge_longitudinal_section generator to the new architecture.

    It's the same \o/

diff -r 5b20cf9926b7 -r 9b47381e5fd7 artifacts/doc/conf/generators.xml
--- a/artifacts/doc/conf/generators.xml	Tue Sep 24 11:30:06 2013 +0200
+++ b/artifacts/doc/conf/generators.xml	Tue Sep 24 11:38:07 2013 +0200
@@ -6,10 +6,12 @@
     <output-generator names="cross_section_chartinfo" class="org.dive4elements.river.exports.CrossSectionInfoGenerator"/>
     <output-generator names="computed_discharge_curve" class="org.dive4elements.river.exports.ComputedDischargeCurveGenerator"/>
     <output-generator names="computed_discharge_curve_chartinfo" class="org.dive4elements.river.exports.ComputedDischargeCurveInfoGenerator"/>
-    <output-generator names="longitudinal_section,longitudinal_section_chartinfo" class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" converter="org.dive4elements.river.exports.DiagramAttributes">
+    <output-generator names="longitudinal_section,longitudinal_section_chartinfo,discharge_longitudinal_section,discharge_longitudinal_section_chartinfo"
+        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
+        converter="org.dive4elements.river.exports.DiagramAttributes">
         <axis name="W"/>
         <axis name="D"/>
-        <axis name="Q"/>
+        <axis name="Q" include-zero="true"/>
         <axis name="" type="X"/>
         <title key="chart.longitudinal.section.title" default="W-Längsschnitt"/>
         <subtitle key="chart.longitudinal.section.subtitle" default="-">
@@ -34,8 +36,6 @@
     </output-generator>
     <output-generator names="duration_curve" class="org.dive4elements.river.exports.DurationCurveGenerator"/>
     <output-generator names="duration_curve_chartinfo" class="org.dive4elements.river.exports.DurationCurveInfoGenerator"/>
-    <output-generator names="discharge_longitudinal_section" class="org.dive4elements.river.exports.DischargeLongitudinalSectionGenerator"/>
-    <output-generator names="discharge_longitudinal_section_chartinfo" class="org.dive4elements.river.exports.DischargeLongitudinalSectionInfoGenerator"/>
     <output-generator names="waterlevel_export" class="org.dive4elements.river.exports.WaterlevelExporter"/>
     <output-generator names="extreme_wq_curve" class="org.dive4elements.river.exports.extreme.ExtremeWQCurveGenerator"/>
     <output-generator names="extreme_curve_export" class="org.dive4elements.river.exports.WaterlevelExporter"/>


More information about the Dive4elements-commits mailing list