Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/FixationChoice.java @ 9178:2f5052835b76
uinfo inundationduration langjÀhr. Mittel, Uedauern.properties, Meldung
author | gernotbelger |
---|---|
date | Tue, 26 Jun 2018 19:48:35 +0200 |
parents | cd650cacc926 |
children | c7e5285d434f |
comparison
equal
deleted
inserted
replaced
9177:37db8c4c44b7 | 9178:2f5052835b76 |
---|---|
6 * documentation coming with Dive4Elements River for details. | 6 * documentation coming with Dive4Elements River for details. |
7 */ | 7 */ |
8 | 8 |
9 package org.dive4elements.river.artifacts.bundu.bezugswst; | 9 package org.dive4elements.river.artifacts.bundu.bezugswst; |
10 | 10 |
11 import java.util.ArrayList; | 11 import java.util.LinkedHashMap; |
12 import java.util.List; | |
13 | 12 |
13 import org.dive4elements.artifacts.Artifact; | |
14 import org.dive4elements.artifacts.CallMeta; | |
14 import org.dive4elements.river.artifacts.states.RadioSelect; | 15 import org.dive4elements.river.artifacts.states.RadioSelect; |
15 | 16 |
16 /** | 17 /** |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 18 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
18 */ | 19 */ |
19 public class FixationChoice extends RadioSelect { | 20 public class FixationChoice extends RadioSelect { |
20 private static final long serialVersionUID = 1L; | 21 private static final long serialVersionUID = 1L; |
21 | 22 |
22 public FixationChoice() { | 23 @Override |
23 super(); | 24 protected LinkedHashMap<String, String> makeEntries(final CallMeta meta, final Artifact artifact) { |
25 final LinkedHashMap<String, String> entries = new LinkedHashMap<>(); | |
26 entries.put("state.bundu.fix.auto", null); | |
27 entries.put("state.bundu.fix.manual", null); | |
28 return entries; | |
24 } | 29 } |
25 | 30 |
26 @Override | |
27 protected List<String> makeEntries() { | |
28 final List<String> entries = new ArrayList<>(); | |
29 entries.add("state.bundu.fix.auto"); | |
30 entries.add("state.bundu.fix.manual"); | |
31 return entries; | |
32 | |
33 } | |
34 } | 31 } |