changeset 8409:8ef11fad27a2

Purge redundant station-column (the values will go to kmstart).
author Tom Gottfried <tom@intevation.de>
date Tue, 14 Oct 2014 16:33:54 +0200
parents 6c16b61ba9eb
children 0ac11615a2a3
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 {

http://dive4elements.wald.intevation.org