Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/HistoricalDischargeCurveGenerator.java @ 7981:45cced06490c facet-metadata
merged with default.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 30 Jun 2014 11:29:45 +0200 |
parents | a7b218447e12 |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7894:42076d94977e | 7981:45cced06490c |
---|---|
156 (D4EArtifact) artifactFacet.getArtifact(), | 156 (D4EArtifact) artifactFacet.getArtifact(), |
157 artifactFacet.getData(context), | 157 artifactFacet.getData(context), |
158 artifactFacet.getFacetDescription(), theme, visible); | 158 artifactFacet.getFacetDescription(), theme, visible); |
159 } | 159 } |
160 else if (FacetTypes.IS.MANUALPOINTS(name)) { | 160 else if (FacetTypes.IS.MANUALPOINTS(name)) { |
161 HistoricalDischargeAccess.EvaluationMode mode = | |
162 new HistoricalDischargeAccess((D4EArtifact)getMaster()).getEvaluationMode(); | |
163 int axis = mode == HistoricalDischargeAccess.EvaluationMode.W | |
164 ? YAXIS.Q.idx | |
165 : YAXIS.W.idx; | |
166 | |
161 doPoints(artifactFacet.getData(context), artifactFacet, theme, | 167 doPoints(artifactFacet.getData(context), artifactFacet, theme, |
162 visible, YAXIS.Q.idx); | 168 visible, axis); |
163 } | 169 } |
164 else { | 170 else { |
165 logger.warn("doOut(): unknown facet name: " + name); | 171 logger.warn("doOut(): unknown facet name: " + name); |
166 return; | 172 return; |
167 } | 173 } |