Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/ScenarioTypeState.java @ 9178:2f5052835b76
uinfo inundationduration langjÀhr. Mittel, Uedauern.properties, Meldung
author | gernotbelger |
---|---|
date | Tue, 26 Jun 2018 19:48:35 +0200 |
parents | 5198066492a9 |
children | f48a8dc78529 |
comparison
equal
deleted
inserted
replaced
9177:37db8c4c44b7 | 9178:2f5052835b76 |
---|---|
1 | 1 |
2 package org.dive4elements.river.artifacts.uinfo.salix; | 2 package org.dive4elements.river.artifacts.uinfo.salix; |
3 | 3 |
4 import java.util.ArrayList; | 4 import java.util.LinkedHashMap; |
5 import java.util.List; | |
6 | 5 |
6 import org.dive4elements.artifacts.Artifact; | |
7 import org.dive4elements.artifacts.CallMeta; | |
7 import org.dive4elements.river.artifacts.states.RadioSelect; | 8 import org.dive4elements.river.artifacts.states.RadioSelect; |
8 | 9 |
9 /** | 10 /** |
10 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
11 */ | 12 */ |
15 public ScenarioTypeState() { | 16 public ScenarioTypeState() { |
16 super(); | 17 super(); |
17 } | 18 } |
18 | 19 |
19 @Override | 20 @Override |
20 protected List<String> makeEntries() { | 21 protected LinkedHashMap<String, String> makeEntries(final CallMeta meta, final Artifact artifact) { |
21 final List<String> entries = new ArrayList<>(); | 22 final LinkedHashMap<String, String> entries = new LinkedHashMap<>(); |
22 entries.add("scenarioType.option1"); | 23 entries.put("scenarioType.option1", null); |
23 entries.add("scenarioType.option2"); | 24 entries.put("scenarioType.option2", null); |
24 entries.add("scenarioType.option3"); | 25 entries.put("scenarioType.option3", null); |
25 return entries; | 26 return entries; |
26 | 27 |
27 } | 28 } |
28 } | 29 } |