comparison artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator2.java @ 8165:cfb3a4d0c637

Added new diagramm generator for Q symmetry.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 29 Aug 2014 16:21:31 +0200
parents 43f18dc56c5a
children a83d519155ab
comparison
equal deleted inserted replaced
8164:951e114f3bef 8165:cfb3a4d0c637
61 * done so difficult and if it really must be done for every 61 * done so difficult and if it really must be done for every
62 * facet. At least it has to be done _before_ the super class 62 * facet. At least it has to be done _before_ the super class
63 * actually does the output and accesses the facet data. 63 * actually does the output and accesses the facet data.
64 */ 64 */
65 D4EArtifact artifact = (D4EArtifact)bundle.getArtifact(); 65 D4EArtifact artifact = (D4EArtifact)bundle.getArtifact();
66 if (context.getContextValue("bounds_defined") != null && 66 Object ctxV = context.getContextValue("bounds_defined");
67 (Boolean)context.getContextValue("bounds_defined")) { 67 if (ctxV != null && (Boolean)ctxV) {
68 super.doOut(bundle, theme, visible); 68 super.doOut(bundle, theme, visible);
69 return; 69 return;
70 } 70 }
71 if (getXBounds(0) != null && getDomainAxisRange() != null) { 71 if (getXBounds(0) != null && getDomainAxisRange() != null) {
72 Bounds bounds = 72 Bounds bounds =

http://dive4elements.wald.intevation.org