comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.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 b1912514e0f5
children f858028dde5f
comparison
equal deleted inserted replaced
3555:b1912514e0f5 3556:afc7bfb4800b
1500 1500
1501 toDestroy.add(getCurrentStateId()); 1501 toDestroy.add(getCurrentStateId());
1502 1502
1503 destroyStates(toDestroy, context); 1503 destroyStates(toDestroy, context);
1504 } 1504 }
1505
1506
1507 /**
1508 * Determines Facets initial disposition regarding activity (think of
1509 * selection in Client ThemeList GUI). This will be checked one time
1510 * when the facet enters a collections describe document.
1511 *
1512 * @param facetName name of the facet.
1513 * @param outputName name of the output.
1514 * @param index index of the facet.
1515 *
1516 * @return 1 if wished to be initally active, 0 if not. FLYSArtifact
1517 * defaults to "1".
1518 */
1519 public int getInitialFacetActivity(
1520 String outputName,
1521 String facetName,
1522 int index
1523 )
1524 {
1525 return 1;
1526 }
1527 } 1505 }
1528 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 1506 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org