comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 1762:c85a84d60f68

In LongitudinalSection-Diagram, Qs enter inactive. flys-artifacts/trunk@3077 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 25 Oct 2011 14:41:34 +0000
parents a7def20539fb
children 5d8b3880a553
comparison
equal deleted inserted replaced
1761:577e8843ceeb 1762:c85a84d60f68
1271 1271
1272 values.sort(); 1272 values.sort();
1273 1273
1274 return values.toNativeArray(); 1274 return values.toNativeArray();
1275 } 1275 }
1276
1277
1278 /**
1279 * Determines Facets initial disposition regarding activity (think of
1280 * selection in Client ThemeList GUI). This will be checked one time
1281 * when the facet enters a collections describe document.
1282 *
1283 * @param facetName name of the facet.
1284 * @param index index of the facet.
1285 */
1286 public int getInitialFacetActivity(String facetName, int index) {
1287 return facetName.endsWith("q")
1288 ? 0
1289 : 1;
1290 }
1291
1276 } 1292 }
1277 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 1293 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org