Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java @ 3284:d9af29a4bb85
Various cosmetic doc fixes.
flys-artifacts/trunk@4944 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 11 Jul 2012 19:21:43 +0000 |
parents | ee5310134463 |
children |
comparison
equal
deleted
inserted
replaced
3283:a8ce3263b0a7 | 3284:d9af29a4bb85 |
---|---|
15 | 15 |
16 import de.intevation.flys.artifacts.FLYSArtifact; | 16 import de.intevation.flys.artifacts.FLYSArtifact; |
17 | 17 |
18 | 18 |
19 /** | 19 /** |
20 * This state is used to realize the input of multiple locations as string. The | 20 * This state is used to realize the input of multiple locations as string. |
21 * string should be a whitespace separated list of double values where each | 21 * |
22 * The string should be a whitespace separated list of double values where each | |
22 * double value represents a location. | 23 * double value represents a location. |
23 * | 24 * |
24 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 25 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
25 */ | 26 */ |
26 public class LocationSelect extends LocationDistanceSelect { | 27 public class LocationSelect extends LocationDistanceSelect { |
31 | 32 |
32 public LocationSelect() { | 33 public LocationSelect() { |
33 } | 34 } |
34 | 35 |
35 | 36 |
37 /** UI Provider (which input method should the client provide to user. */ | |
36 @Override | 38 @Override |
37 protected String getUIProvider() { | 39 protected String getUIProvider() { |
38 return "location_panel"; | 40 return "location_panel"; |
39 } | 41 } |
40 | 42 |
73 | 75 |
74 return null; | 76 return null; |
75 } | 77 } |
76 | 78 |
77 | 79 |
80 /** Validates data from artifact. */ | |
78 @Override | 81 @Override |
79 public boolean validate(Artifact artifact) | 82 public boolean validate(Artifact artifact) |
80 throws IllegalArgumentException | 83 throws IllegalArgumentException |
81 { | 84 { |
82 logger.debug("LocationSelect.validate"); | 85 logger.debug("LocationSelect.validate"); |