changeset 9427:3b188c34d422

salix.regional scenario select bugfix
author gernotbelger
date Fri, 17 Aug 2018 16:48:24 +0200
parents b6e595f1696f
children 15f274e6d83b
files artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadScenarioSelectLimit5.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadScenarioSelectLimit5.java	Fri Aug 17 15:31:16 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadScenarioSelectLimit5.java	Fri Aug 17 16:48:24 2018 +0200
@@ -47,7 +47,9 @@
             if (datakey.equals(name)) {
 
                 final AddTableDataHelper helper = new AddTableDataHelper(creator, select, "cm", context.getMeta());
-                for (int i = -200; i < -100; i = i + 10) {
+                helper.addColumn(0, "regional_scenario_select", "60", "common.client.ui.selection", "ICON", "CENTER", "from");
+                helper.addColumn(1, "cm", "60", "year", "INTEGER", "LEFT", null);
+                for (int i = -200; i < +210; i = i + 10) {
                     final Map<String, String> row = new HashMap<>();
                     row.put("cm", Integer.toString(i));
                     helper.addRow(row);

http://dive4elements.wald.intevation.org