[Dive4elements-commits] [PATCH 2 of 5] Add data for Ablusstafel/-kurve to GaugeRecord class

Wald Commits scm-commit at wald.intevation.org
Mon Feb 4 13:49:19 CET 2013


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1359981942 -3600
# Node ID 8c527ea4603b0c00c8c0c84a2260790ff29f98f2
# Parent  5652aa0ad9e5e21aaf0ff2b80729ab3cf8a02b7f
Add data for Ablusstafel/-kurve to GaugeRecord class

diff -r 5652aa0ad9e5 -r 8c527ea4603b flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeRecord.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeRecord.java	Mon Feb 04 13:44:36 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeRecord.java	Mon Feb 04 13:45:42 2013 +0100
@@ -36,6 +36,11 @@
         setRiverName(gauge.getRiverName());
         setStation(gauge.getStation());
         setWstUnit(gauge.getWstUnit());
+        setCurveLink(MSG.gauge_curve_link());
+    }
+
+    private void setCurveLink(String value) {
+        this.setAttribute("curvelink", value);
     }
 
     private void setLink(String url) {


More information about the Dive4elements-commits mailing list