comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/uinfo/SupraRegionalTablePanel.java @ 9238:1c756bfee472

salix.supraregional table revision -> Anschluss
author gernotbelger
date Tue, 10 Jul 2018 13:27:17 +0200
parents 972e10522ed6
children 4e3757202d5c
comparison
equal deleted inserted replaced
9237:972e10522ed6 9238:1c756bfee472
391 final Double to = this.format.parse(toInput); 391 final Double to = this.format.parse(toInput);
392 Integer.valueOf(dmwspl); 392 Integer.valueOf(dmwspl);
393 393
394 if (from < this.minKm || from > this.maxKm || to > this.maxKm || to < this.minKm) 394 if (from < this.minKm || from > this.maxKm || to > this.maxKm || to < this.minKm)
395 return this.MSG.uinfo_salix_km_limit_exceed(); 395 return this.MSG.uinfo_salix_km_limit_exceed();
396
397 // range anschluss
398 if (!SalixZone.isValidAnschlussRange(from, to, getSalixZones(this.table.getRecords()), this.minKm)) {
399 return this.MSG.uinfo_salix_km_anschluss();
400 }
396 return null; 401 return null;
397 } 402 }
398 catch (final NumberFormatException e) { 403 catch (final NumberFormatException e) {
399 return this.MSG.wrongFormat(); 404 return this.MSG.wrongFormat();
400 } 405 }

http://dive4elements.wald.intevation.org