Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java @ 1053:bfc2ed20b87c
Prepared the FloodMapState to save geometries.
flys-artifacts/trunk@2519 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 22 Aug 2011 10:40:15 +0000 |
parents | 353ddfa231a7 |
children | 13784581ab0c |
comparison
equal
deleted
inserted
replaced
1052:eeebf8514c7f | 1053:bfc2ed20b87c |
---|---|
20 /** The logger that is used in this state.*/ | 20 /** The logger that is used in this state.*/ |
21 private static Logger logger = Logger.getLogger(FloodMapState.class); | 21 private static Logger logger = Logger.getLogger(FloodMapState.class); |
22 | 22 |
23 | 23 |
24 @Override | 24 @Override |
25 protected String getUIProvider() { | |
26 return "noinput"; | |
27 } | |
28 | |
29 @Override | |
25 public Object computeAdvance( | 30 public Object computeAdvance( |
31 FLYSArtifact artifact, | |
32 String hash, | |
33 CallContext context, | |
34 List<Facet> facets, | |
35 Object old | |
36 ) { | |
37 facets.add(new WSPLGENFacet(0, FLOODMAP_WSPLGEN, "WSPLGEN")); | |
38 | |
39 return null; | |
40 } | |
41 | |
42 | |
43 @Override | |
44 public Object computeFeed( | |
26 FLYSArtifact artifact, | 45 FLYSArtifact artifact, |
27 String hash, | 46 String hash, |
28 CallContext context, | 47 CallContext context, |
29 List<Facet> facets, | 48 List<Facet> facets, |
30 Object old | 49 Object old |