diff flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java @ 4221:480de0dbca8e

Extended location input helper. The locationpicker has now an attribute whether the input is distance or location to display one or two clickable columns. Replaced the record click handler with cell click handler.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 23 Oct 2012 13:17:20 +0200
parents 03de5c424f95
children
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java	Tue Oct 23 09:53:02 2012 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java	Tue Oct 23 13:17:20 2012 +0200
@@ -3,7 +3,8 @@
 import com.google.gwt.i18n.client.NumberFormat;
 
 import com.smartgwt.client.data.Record;
-import com.smartgwt.client.widgets.grid.events.RecordClickEvent;
+
+import com.smartgwt.client.widgets.grid.events.CellClickEvent;
 
 import de.intevation.flys.client.shared.model.Data;
 
@@ -105,7 +106,7 @@
      * @param e event passed.
      */
     @Override
-    public void onRecordClick (RecordClickEvent e) {
+    public void onCellClick (CellClickEvent e) {
         Record record = e.getRecord();
         double[] selected = new double[1];
         try {

http://dive4elements.wald.intevation.org