Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/YearChoice.java @ 9063:b6919e3c2d86
work on uinfo-inundation_duration states
author | gernotbelger |
---|---|
date | Tue, 08 May 2018 15:21:23 +0200 |
parents | |
children | b5d7a9d79837 |
comparison
equal
deleted
inserted
replaced
9062:5198066492a9 | 9063:b6919e3c2d86 |
---|---|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU AGPL (>=v3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
6 * documentation coming with Dive4Elements River for details. | |
7 */ | |
8 | |
9 package org.dive4elements.river.artifacts.uinfo.inundationduration; | |
10 | |
11 import java.util.ArrayList; | |
12 import java.util.List; | |
13 | |
14 import org.dive4elements.river.artifacts.states.RadioSelect; | |
15 | |
16 /** | |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
18 */ | |
19 public class YearChoice extends RadioSelect { | |
20 private static final long serialVersionUID = 1L; | |
21 | |
22 public YearChoice() { | |
23 super(); | |
24 } | |
25 | |
26 @Override | |
27 protected List<String> makeEntries() { | |
28 final List<String> entries = new ArrayList<>(); | |
29 entries.add("state.uinfo.year"); | |
30 entries.add("state.uinfo.epoch"); | |
31 return entries; | |
32 | |
33 } | |
34 } |