Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadScenarioSelectLimit5.java @ 9246:c08d5cfa4981
some hibernate queries on bedheigts for salix
author | gernotbelger |
---|---|
date | Thu, 12 Jul 2018 11:15:42 +0200 |
parents | 5a0e8d76582e |
children | 1b2623dff742 |
comparison
equal
deleted
inserted
replaced
9245:f5cff8708531 | 9246:c08d5cfa4981 |
---|---|
43 | 43 |
44 try { | 44 try { |
45 if (datakey.equals(name)) { | 45 if (datakey.equals(name)) { |
46 | 46 |
47 final AddTableDataHelper helper = new AddTableDataHelper(creator, select, "cm", context.getMeta()); | 47 final AddTableDataHelper helper = new AddTableDataHelper(creator, select, "cm", context.getMeta()); |
48 // no input help wanted | |
49 // helper.addColumn(0, "pinfrom", "40", "common.client.ui.from", "ICON", "CENTER", "from"); | |
50 // helper.addColumn(1, "pinto", "40", "common.client.ui.to", "ICON", "CENTER", "to"); | |
51 // helper.addColumn(1, "cm", "60", "Delta [cm]", "INTEGER", "RIGHT", null); | |
52 | |
53 for (int i = -200; i < 210; i = i + 10) { | 48 for (int i = -200; i < 210; i = i + 10) { |
54 final Map<String, String> row = new HashMap<>(); | 49 final Map<String, String> row = new HashMap<>(); |
55 row.put("cm", Integer.toString(i)); | 50 row.put("cm", Integer.toString(i)); |
56 helper.addRow(row); | 51 helper.addRow(row); |
57 | |
58 } | 52 } |
59 helper.submitMapToXml(); | 53 helper.submitMapToXml(); |
60 } | 54 } |
61 } | 55 } |
62 catch (final IllegalArgumentException iae) { | 56 catch (final IllegalArgumentException iae) { |