Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java @ 4504:d7e1aee9d51e
Merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 14 Nov 2012 12:37:57 +0100 |
parents | a2735a4bf75e |
children |
comparison
equal
deleted
inserted
replaced
4503:f91260ccef03 | 4504:d7e1aee9d51e |
---|---|
154 Facet rpFacet = new RelativePointFacet(facetDescription); | 154 Facet rpFacet = new RelativePointFacet(facetDescription); |
155 | 155 |
156 fs.add(wKmsFacet); | 156 fs.add(wKmsFacet); |
157 fs.add(csFacet); | 157 fs.add(csFacet); |
158 fs.add(rpFacet); | 158 fs.add(rpFacet); |
159 facets.put(state.getID(), fs); | 159 addFacets(state.getID(), fs); |
160 } | 160 } |
161 } | 161 } |
162 | 162 |
163 spawnState(); | 163 spawnState(); |
164 super.setup(identifier, factory, context, callMeta, data); | 164 super.setup(identifier, factory, context, callMeta, data); |
169 * Initialize the static state with output. | 169 * Initialize the static state with output. |
170 * @return static state | 170 * @return static state |
171 */ | 171 */ |
172 protected State spawnState() { | 172 protected State spawnState() { |
173 state = new StaticState(STATIC_STATE_NAME); | 173 state = new StaticState(STATIC_STATE_NAME); |
174 List<Facet> fs = facets.get(STATIC_STATE_NAME); | 174 List<Facet> fs = getFacets(STATIC_STATE_NAME); |
175 DefaultOutput output = new DefaultOutput( | 175 DefaultOutput output = new DefaultOutput( |
176 "general", | 176 "general", |
177 "general", "image/png", | 177 "general", "image/png", |
178 fs, | 178 fs, |
179 "chart"); | 179 "chart"); |