changeset 5668:ab5db981044c

Enable the middle bedheight chart generator to draw W facets.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 12 Apr 2013 09:40:40 +0200
parents a1c6bfd65a7f
children dc731d2937f9
files flys-artifacts/src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java	Fri Apr 12 09:39:40 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java	Fri Apr 12 09:40:40 2013 +0200
@@ -166,7 +166,10 @@
 
         Processor woutp = new WOutProcessor();
         Processor bedp = new BedheightProcessor();
-
+        WOutProcessor processor = new WOutProcessor();
+        if (processor.canHandle(name)) {
+            processor.doOut(this, artifactAndFacet, attr, visible, YAXIS.W.idx);
+        }
         if (name.equals(MIDDLE_BED_HEIGHT_SINGLE) || name.equals(MIDDLE_BED_HEIGHT_EPOCH)) {
             doHeightOut(
                 (MiddleBedHeightData) artifactAndFacet.getData(context),

http://dive4elements.wald.intevation.org