Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WMSBackgroundState.java @ 5867:59ff03ff48f1
River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:23:01 +0200 |
parents | 4897a58c8746 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
20 | 20 |
21 import org.dive4elements.artifactdatabase.state.Facet; | 21 import org.dive4elements.artifactdatabase.state.Facet; |
22 import org.dive4elements.artifacts.CallMeta; | 22 import org.dive4elements.artifacts.CallMeta; |
23 import org.dive4elements.artifacts.common.utils.Config; | 23 import org.dive4elements.artifacts.common.utils.Config; |
24 import org.dive4elements.artifacts.common.utils.XMLUtils; | 24 import org.dive4elements.artifacts.common.utils.XMLUtils; |
25 import org.dive4elements.river.artifacts.FLYSArtifact; | 25 import org.dive4elements.river.artifacts.D4EArtifact; |
26 import org.dive4elements.river.artifacts.model.map.WMSLayerFacet; | 26 import org.dive4elements.river.artifacts.model.map.WMSLayerFacet; |
27 import org.dive4elements.river.artifacts.resources.Resources; | 27 import org.dive4elements.river.artifacts.resources.Resources; |
28 | 28 |
29 | 29 |
30 public class WMSBackgroundState extends OutputState { | 30 public class WMSBackgroundState extends OutputState { |
61 } | 61 } |
62 | 62 |
63 | 63 |
64 @Override | 64 @Override |
65 public Object computeInit( | 65 public Object computeInit( |
66 FLYSArtifact artifact, | 66 D4EArtifact artifact, |
67 String hash, | 67 String hash, |
68 Object context, | 68 Object context, |
69 CallMeta meta, | 69 CallMeta meta, |
70 List<Facet> facets | 70 List<Facet> facets |
71 ) { | 71 ) { |
112 | 112 |
113 return cfg; | 113 return cfg; |
114 } | 114 } |
115 | 115 |
116 | 116 |
117 protected void initVariables(FLYSArtifact artifact) { | 117 protected void initVariables(D4EArtifact artifact) { |
118 String river = artifact.getDataAsString("river"); | 118 String river = artifact.getDataAsString("river"); |
119 | 119 |
120 variables = new HashMap<String, String>(); | 120 variables = new HashMap<String, String>(); |
121 variables.put("name", river); | 121 variables.put("name", river); |
122 } | 122 } |