comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java @ 1709:f643ea084213

Allow simple codepaths to have Facets initially being 'inactive' (wrt rendering). flys-artifacts/trunk@2969 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 14 Oct 2011 08:52:44 +0000
parents e8627d1e2db6
children 0349dd524f9c
comparison
equal deleted inserted replaced
1708:e99b4bd32cd5 1709:f643ea084213
980 List<String> ids = getPreviousStateIds(); 980 List<String> ids = getPreviousStateIds();
981 ids.add(getCurrentStateId()); 981 ids.add(getCurrentStateId());
982 982
983 destroyStates(ids, context); 983 destroyStates(ids, context);
984 } 984 }
985
986
987 /**
988 * Determines Facets initial disposition regarding activity (think of
989 * selection in Client ThemeList GUI). This will be checked one time
990 * when the facet enters a collections describe document.
991 *
992 * @param facetName name of the facet.
993 * @param index index of the facet.
994 *
995 * @return 1 if wished to be initally active, 0 if not. FLYSArtifact
996 * defaults to "1".
997 */
998 public int getInitialFacetActivity(String facetName, int index) {
999 return 1;
1000 }
985 } 1001 }
986 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 1002 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org