Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.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 | d9af29a4bb85 |
children | 066e2b4d69ca |
comparison
equal
deleted
inserted
replaced
3555:b1912514e0f5 | 3556:afc7bfb4800b |
---|---|
144 double a, double b | 144 double a, double b |
145 ) { | 145 ) { |
146 List<Point2D> points = csl.getPoints(); | 146 List<Point2D> points = csl.getPoints(); |
147 return Lines.createWaterLines(points, getLine(index)); | 147 return Lines.createWaterLines(points, getLine(index)); |
148 } | 148 } |
149 | |
150 /** | |
151 * Determines Facets initial disposition regarding activity (think of | |
152 * selection in Client ThemeList GUI). This will be checked one time | |
153 * when the facet enters a collections describe document. | |
154 * | |
155 * @param facetName name of the facet. | |
156 * @param index index of the facet. | |
157 * @return 0 if not active | |
158 */ | |
159 @Override | |
160 public int getInitialFacetActivity( | |
161 String outputName, | |
162 String facetName, | |
163 int index) | |
164 { | |
165 return 1; | |
166 } | |
167 } | 149 } |
168 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 150 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |