Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/LoadSingleEpochSelectState.java @ 9544:6dd539efebb1
WMS config little changes
author | gernotbelger |
---|---|
date | Wed, 17 Oct 2018 17:40:48 +0200 |
parents | a978b601a034 |
children |
comparison
equal
deleted
inserted
replaced
9543:3264c2df4f18 | 9544:6dd539efebb1 |
---|---|
49 makeDataSourceYearEpoch(creator, select, context, bhs); | 49 makeDataSourceYearEpoch(creator, select, context, bhs); |
50 } | 50 } |
51 } | 51 } |
52 catch ( | 52 catch ( |
53 | 53 |
54 final IllegalArgumentException iae) { | 54 final IllegalArgumentException iae) { |
55 iae.printStackTrace(); | 55 iae.printStackTrace(); |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 public static final void makeDataSourceYearEpoch(final ElementCreator creator, final Element select, final CallContext context, | 59 public static final void makeDataSourceYearEpoch(final ElementCreator creator, final Element select, final CallContext context, |
61 | 61 |
62 final AddTableDataHelper helper = new AddTableDataHelper(creator, select, "year", context.getMeta()); | 62 final AddTableDataHelper helper = new AddTableDataHelper(creator, select, "year", context.getMeta()); |
63 | 63 |
64 helper.addColumn(0, "pinfrom", "40", "common.client.ui.from", "ICON", "CENTER", "from"); | 64 helper.addColumn(0, "pinfrom", "40", "common.client.ui.from", "ICON", "CENTER", "from"); |
65 helper.addColumn(1, "year", "60", "year", "INTEGER", "LEFT", null); | 65 helper.addColumn(1, "year", "60", "year", "INTEGER", "LEFT", null); |
66 helper.addColumn(2, "sounding", "500", "uinfo.salix.soundings", "STRING", "LEFT", null); | 66 helper.addColumn(2, "sounding", "500", "uinfo.salix.soundings", "TEXT", "LEFT", null); |
67 | 67 |
68 final TreeMap<Integer, String> bedHeightSorted = new TreeMap<>(); | 68 final TreeMap<Integer, String> bedHeightSorted = new TreeMap<>(); |
69 | 69 |
70 for (final BedHeight bh : bedheights) { | 70 for (final BedHeight bh : bedheights) { |
71 final int year = bh.getYear(); | 71 final int year = bh.getYear(); |