comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java @ 3556:afc7bfb4800b

Use the new infrastructure to figure out if a facet should be initially active or not. flys-artifacts/trunk@5152 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 29 Jul 2012 11:04:06 +0000
parents 0f7abd95c6e2
children 7500c7fbfaa9
comparison
equal deleted inserted replaced
3555:b1912514e0f5 3556:afc7bfb4800b
180 180
181 return new CalculationResult( 181 return new CalculationResult(
182 res.toArray(new WQKms[res.size()]), 182 res.toArray(new WQKms[res.size()]),
183 new Calculation()); 183 new Calculation());
184 } 184 }
185
186
187 /**
188 * Determines Facets initial disposition regarding activity (think of
189 * selection in Client ThemeList GUI). This will be checked one time
190 * when the facet enters a collections describe document.
191 *
192 * @param facetName name of the facet.
193 * @param index index of the facet.
194 * @return 1 - all Facets enter activated.
195 */
196 @Override
197 public int getInitialFacetActivity(
198 String outputName,
199 String facetName,
200 int index)
201 {
202 return 1;
203 }
204 } 185 }
205 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 186 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org