Mercurial > dive4elements > river
annotate artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/collision/YearChoice.java @ 9057:2be202a8cb89
local merge
author | gernotbelger |
---|---|
date | Fri, 04 May 2018 14:50:13 +0200 |
parents | 95643dffd006 |
children | 766890addcb2 |
rev | line source |
---|---|
9050 | 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 | |
9054
95643dffd006
rename grounding->collision; inundation_duration->flood_duration
gernotbelger
parents:
9050
diff
changeset
|
9 package org.dive4elements.river.artifacts.sinfo.collision; |
9050 | 10 |
9057 | 11 import java.util.ArrayList; |
12 import java.util.List; | |
13 | |
14 import org.dive4elements.river.artifacts.states.RadioSelect; | |
9050 | 15 |
16 /** | |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
18 */ | |
9057 | 19 public class YearChoice extends RadioSelect { |
9050 | 20 private static final long serialVersionUID = 1L; |
21 | |
22 public YearChoice() { | |
9057 | 23 super(); |
24 } | |
25 | |
26 @Override | |
27 protected List<String> makeEntries() { | |
28 final List<String> entries = new ArrayList<>(); | |
29 entries.add("state.sinfo.year"); | |
30 entries.add("state.sinfo.epoch"); | |
31 return entries; | |
32 | |
9050 | 33 } |
34 } |