Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.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 | e99b4bd32cd5 |
children | 5d8b3880a553 |
comparison
equal
deleted
inserted
replaced
1708:e99b4bd32cd5 | 1709:f643ea084213 |
---|---|
89 * @return the name of the concrete artifact. | 89 * @return the name of the concrete artifact. |
90 */ | 90 */ |
91 public String getName() { | 91 public String getName() { |
92 return ARTIFACT_NAME; | 92 return ARTIFACT_NAME; |
93 } | 93 } |
94 | |
95 /** | |
96 * Determines Facets initial disposition regarding activity (think of | |
97 * selection in Client ThemeList GUI). | |
98 * WaterlevelArtifact Facets should come to live "inactive" (always | |
99 * return 0). | |
100 * | |
101 * @param facetName name of the facet. | |
102 * @param index index of the facet. | |
103 * | |
104 * @return Always 0 to have Facets initial predisposition to "inactive". | |
105 */ | |
106 @Override | |
107 public int getInitialFacetActivity(String facetName, int index) { | |
108 return 0; | |
109 } | |
94 } | 110 } |
95 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 111 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |