[Dive4elements-commits] [PATCH 1 of 2] Enable annotations in mean bed height longitudinal section diagramm

Wald Commits scm-commit at wald.intevation.org
Wed Jun 26 12:45:42 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1372243123 -7200
# Node ID 641fd5bd6965fdfd12ca0cc2dcbdaf57e3f3a44d
# Parent  14b5674e57a44005fcec5b9f9a231979dabb794f
Enable annotations in mean bed height longitudinal section diagramm.

diff -r 14b5674e57a4 -r 641fd5bd6965 artifacts/src/main/java/org/dive4elements/river/exports/MiddleBedHeightGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/MiddleBedHeightGenerator.java	Tue Jun 25 15:18:43 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/MiddleBedHeightGenerator.java	Wed Jun 26 12:38:43 2013 +0200
@@ -219,6 +219,13 @@
                 visible,
                 YAXIS.H.idx);
         }
+        else if (name.equals(LONGITUDINAL_ANNOTATION)) {
+            doAnnotations(
+                (RiverAnnotation) artifactAndFacet.getData(context),
+                 artifactAndFacet,
+                 attr,
+                 visible);
+        }
         else if (bedp.canHandle(name)) {
             bedp.doOut(this, artifactAndFacet, attr, visible, YAXIS.P.idx);
         }


More information about the Dive4elements-commits mailing list