Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java @ 1103:e0243627ba62
Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
flys-artifacts/trunk@2606 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 29 Aug 2011 09:26:07 +0000 |
parents | 3f3988bb6284 |
children | 024d986b4f5b |
comparison
equal
deleted
inserted
replaced
1102:7bd514eb4b2c | 1103:e0243627ba62 |
---|---|
18 import de.intevation.flys.artifacts.model.DataFacet; | 18 import de.intevation.flys.artifacts.model.DataFacet; |
19 import de.intevation.flys.artifacts.model.ReportFacet; | 19 import de.intevation.flys.artifacts.model.ReportFacet; |
20 import de.intevation.flys.artifacts.model.CalculationResult; | 20 import de.intevation.flys.artifacts.model.CalculationResult; |
21 | 21 |
22 import de.intevation.flys.artifacts.resources.Resources; | 22 import de.intevation.flys.artifacts.resources.Resources; |
23 | |
24 import de.intevation.flys.utils.FLYSUtils; | |
23 | 25 |
24 | 26 |
25 /** | 27 /** |
26 * The final state that will be reached after the duration curve calculation | 28 * The final state that will be reached after the duration curve calculation |
27 * mode has been chosen. | 29 * mode has been chosen. |
60 | 62 |
61 WQDay wqday = (WQDay)res.getData(); | 63 WQDay wqday = (WQDay)res.getData(); |
62 | 64 |
63 if (wqday != null && facets != null) { | 65 if (wqday != null && facets != null) { |
64 Object[] args = new Object[] { | 66 Object[] args = new Object[] { |
65 winfo.getRiver().getName() | 67 FLYSUtils.getRiver(winfo).getName() |
66 }; | 68 }; |
67 | 69 |
68 String nameW = Resources.getMsg( | 70 String nameW = Resources.getMsg( |
69 context.getMeta(), | 71 context.getMeta(), |
70 "chart.duration.curve.curve.w", | 72 "chart.duration.curve.curve.w", |