comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/uinfo/AbstractVegZonesTablePanel.java @ 9661:9b8ba3b83a15

Importer (s/u-info) vegetation zones: new database column in vegetation_type table for german type name, localized vegetation type names by querying the database instead of translating by resource property, detecting and cancelling the import of a second vegetation zone file for a river, detecting, logging, cancelling in case of wrong column titles, detecting, logging and ignoring lines with missing (color) values, comparing vegetation zone name and class with the database and logging+ignoring in case of inconsistencies, starting the most elevated zone with 0 instead of -1 overflow days
author mschaefer
date Mon, 23 Mar 2020 16:38:12 +0100
parents 8cf2968dd4f9
children
comparison
equal deleted inserted replaced
9660:f0cad5212f49 9661:9b8ba3b83a15
48 * 48 *
49 */ 49 */
50 public abstract class AbstractVegZonesTablePanel extends AbstractUIProvider { 50 public abstract class AbstractVegZonesTablePanel extends AbstractUIProvider {
51 private static final long serialVersionUID = 1L; 51 private static final long serialVersionUID = 1L;
52 52
53 private static final int LOWER = -1; 53 private static final int LOWER = 0;
54 private static final int UPPER = 366; 54 private static final int UPPER = 366;
55 55
56 private static final String datakey = "vegzones"; 56 private static final String datakey = "vegzones";
57 final protected List<ListGridRecord> records = new ArrayList<ListGridRecord>(); 57 final protected List<ListGridRecord> records = new ArrayList<ListGridRecord>();
58 private final Label validationLabel = PanelHelper.getValidationLabel(); 58 private final Label validationLabel = PanelHelper.getValidationLabel();

http://dive4elements.wald.intevation.org