Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/HistoricalDischargeWQCurveGenerator.java @ 6716:b494a9cf25e5
Add compatibility with more facet names for mainvalues.
This allows to configure the theme or just use the default theme.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 30 Jul 2013 18:59:35 +0200 |
parents | af13ceeba52a |
children | 089b48c3131e |
comparison
equal
deleted
inserted
replaced
6714:b265cd6cfda5 | 6716:b494a9cf25e5 |
---|---|
132 } | 132 } |
133 else if (FacetTypes.IS.MANUALPOINTS(name)) { | 133 else if (FacetTypes.IS.MANUALPOINTS(name)) { |
134 doPoints(artifactFacet.getData(context), artifactFacet, theme, | 134 doPoints(artifactFacet.getData(context), artifactFacet, theme, |
135 visible, YAXIS.W.idx); | 135 visible, YAXIS.W.idx); |
136 } | 136 } |
137 else if (HISTORICAL_DISCHARGE_MAINVALUES_Q.equals(name)) { | 137 else if (name.equals(MAINVALUES_W) || |
138 doAnnotations((RiverAnnotation) | 138 name.equals(MAINVALUES_Q) || |
139 artifactFacet.getData(context), artifactFacet, theme, visible); | 139 HISTORICAL_DISCHARGE_MAINVALUES_Q.equals(name) || |
140 } | 140 HISTORICAL_DISCHARGE_MAINVALUES_W.equals(name)) { |
141 else if (HISTORICAL_DISCHARGE_MAINVALUES_W.equals(name)) { | |
142 doAnnotations((RiverAnnotation) | 141 doAnnotations((RiverAnnotation) |
143 artifactFacet.getData(context), artifactFacet, theme, visible); | 142 artifactFacet.getData(context), artifactFacet, theme, visible); |
144 } | 143 } |
145 else { | 144 else { |
146 logger.warn("doOut(): unknown facet name: " + name); | 145 logger.warn("doOut(): unknown facet name: " + name); |