Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelSelectState.java @ 5865:73da40528cf2
River artifacts: Renamed FLYSUtils to RiverUtils.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:09:31 +0200 |
parents | 4897a58c8746 |
children | 59ff03ff48f1 |
comparison
equal
deleted
inserted
replaced
5864:f2e46a668fe6 | 5865:73da40528cf2 |
---|---|
23 import org.dive4elements.river.artifacts.FLYSArtifact; | 23 import org.dive4elements.river.artifacts.FLYSArtifact; |
24 import org.dive4elements.river.artifacts.model.CalculationResult; | 24 import org.dive4elements.river.artifacts.model.CalculationResult; |
25 import org.dive4elements.river.artifacts.model.WQKms; | 25 import org.dive4elements.river.artifacts.model.WQKms; |
26 import org.dive4elements.river.artifacts.model.extreme.ExtremeResult; | 26 import org.dive4elements.river.artifacts.model.extreme.ExtremeResult; |
27 import org.dive4elements.river.artifacts.resources.Resources; | 27 import org.dive4elements.river.artifacts.resources.Resources; |
28 import org.dive4elements.river.utils.FLYSUtils; | 28 import org.dive4elements.river.utils.RiverUtils; |
29 import org.dive4elements.river.utils.StringUtil; | 29 import org.dive4elements.river.utils.StringUtil; |
30 | 30 |
31 | 31 |
32 /** | 32 /** |
33 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 33 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
121 * from the CalculationResult. | 121 * from the CalculationResult. |
122 */ | 122 */ |
123 public static String[] getLabels(CallContext cc, String value) { | 123 public static String[] getLabels(CallContext cc, String value) { |
124 String[] parts = value.split(SPLIT_CHAR); | 124 String[] parts = value.split(SPLIT_CHAR); |
125 | 125 |
126 FLYSArtifact artifact = FLYSUtils.getArtifact(parts[0], cc); | 126 FLYSArtifact artifact = RiverUtils.getArtifact(parts[0], cc); |
127 | 127 |
128 CalculationResult rawData = (CalculationResult) artifact.compute( | 128 CalculationResult rawData = (CalculationResult) artifact.compute( |
129 cc, | 129 cc, |
130 null, | 130 null, |
131 WINFO_WSP_STATE_ID, | 131 WINFO_WSP_STATE_ID, |