[PATCH] Purge redundant station-column (the values will go to kmstart)

Wald Commits scm-commit at wald.intevation.org
Tue Oct 14 16:34:06 CEST 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1413297234 -7200
# Node ID 8ef11fad27a204b801fca9037205e65cb5141e08
# Parent  6c16b61ba9eb2a696761d24f2e8732759de18c3a
Purge redundant station-column (the values will go to kmstart).

diff -r 6c16b61ba9eb -r 8ef11fad27a2 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java	Tue Oct 14 16:32:06 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java	Tue Oct 14 16:33:54 2014 +0200
@@ -64,14 +64,13 @@
         ListGridField mfield = new ListGridField("measurementtype", "Messstellenart");
         ListGridField sfield = new ListGridField("kmstart", "Start [km]", 60);
         ListGridField efield = new ListGridField("kmend", "Ende [km]", 60);
-        ListGridField stfield = new ListGridField("station", "Station [km]");
         ListGridField lfield = new ListGridField("infolink", "Info");
         ListGridField cfield = new ListGridField("curvelink", "Feststofftransport-Abfluss-Beziehung");
         cfield.addRecordClickHandler(this);
 
         this.setShowRecordComponents(true);
         this.setShowRecordComponentsByCell(true);
-        this.setFields(nfield, mfield, sfield, efield, stfield, lfield, cfield);
+        this.setFields(nfield, mfield, sfield, efield, lfield, cfield);
     }
 
     /**
@@ -226,7 +225,7 @@
     @Override
     public String getCellCSSText(ListGridRecord record, int rowNum,
             int colNum) {
-        if (colNum == 7) {
+        if (colNum == 6) {
             return "text-decoration: underline; color: #0000EE; cursor: pointer;";
         }
         else {


More information about the Dive4Elements-commits mailing list