comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java @ 2134:024d986b4f5b

'New Chart' for duration curve. flys-artifacts/trunk@3710 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 18 Jan 2012 15:50:34 +0000
parents 3b08b8aacfb0
children 105097966111
comparison
equal deleted inserted replaced
2133:767ce9d1991f 2134:024d986b4f5b
138 138
139 139
140 @Override 140 @Override
141 protected void initialize(Artifact artifact, Object context, CallMeta meta) { 141 protected void initialize(Artifact artifact, Object context, CallMeta meta) {
142 logger.debug("MainValuesArtifact.initialize"); 142 logger.debug("MainValuesArtifact.initialize");
143 WINFOArtifact winfo = (WINFOArtifact) artifact; 143 FLYSArtifact winfo = (FLYSArtifact) artifact;
144 double [] locations = FLYSUtils.getLocations(winfo); 144 double [] locations = FLYSUtils.getLocations(winfo);
145 if (locations != null) { 145 if (locations != null) {
146 double location = locations[0]; 146 double location = locations[0];
147 addData("location", new DefaultStateData("location", null, null, 147 addData("location", new DefaultStateData("location", null, null,
148 String.valueOf(location))); 148 String.valueOf(location)));

http://dive4elements.wald.intevation.org