Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/minfo/SedimentLoadYearSelect.java @ 5695:fd020ac6f6cd
Doc and vimline.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 15 Apr 2013 10:55:16 +0200 |
parents | 8508ee487893 |
children | 56897ceb5589 |
comparison
equal
deleted
inserted
replaced
5694:8508ee487893 | 5695:fd020ac6f6cd |
---|---|
8 | 8 |
9 import de.intevation.flys.artifacts.access.SedimentLoadAccess; | 9 import de.intevation.flys.artifacts.access.SedimentLoadAccess; |
10 import de.intevation.flys.artifacts.states.DefaultState; | 10 import de.intevation.flys.artifacts.states.DefaultState; |
11 | 11 |
12 | 12 |
13 /** State in which to fetch years for sedminent load calculation. */ | |
13 public class SedimentLoadYearSelect | 14 public class SedimentLoadYearSelect |
14 extends DefaultState | 15 extends DefaultState |
15 { | 16 { |
16 /** The logger used in this class. */ | 17 /** The logger used in this class. */ |
17 private static Logger logger = Logger.getLogger(SedimentLoadYearSelect.class); | 18 private static Logger logger = Logger.getLogger(SedimentLoadYearSelect.class); |
21 * The default constructor that initializes an empty State object. | 22 * The default constructor that initializes an empty State object. |
22 */ | 23 */ |
23 public SedimentLoadYearSelect() { | 24 public SedimentLoadYearSelect() { |
24 } | 25 } |
25 | 26 |
27 | |
28 /** Year Select Widget. */ | |
26 @Override | 29 @Override |
27 protected String getUIProvider() { | 30 protected String getUIProvider() { |
28 return "minfo.sedimentload_year_select"; | 31 return "minfo.sedimentload_year_select"; |
29 } | 32 } |
30 | 33 |
40 throw new IllegalArgumentException("error_years_wrong"); | 43 throw new IllegalArgumentException("error_years_wrong"); |
41 | 44 |
42 return true; | 45 return true; |
43 } | 46 } |
44 } | 47 } |
48 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |