diff flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java @ 876:dbaef661d0e5

Changed i18n string for empty table and set header fields to fixed order. flys-client/trunk@2703 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 12 Sep 2011 12:23:34 +0000
parents d08cf5ed1bfc
children 2161d3acc83f
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Mon Sep 12 11:47:42 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Mon Sep 12 12:23:34 2011 +0000
@@ -198,7 +198,8 @@
         distanceTable.setShowRecordComponents(true);
         distanceTable.setShowRecordComponentsByCell(true);
         distanceTable.setHeight100();
-        distanceTable.setEmptyMessage(MESSAGES.empty_table());
+        distanceTable.setEmptyMessage(MESSAGES.empty_filter());
+        distanceTable.setCanReorderFields(false);
 
         ListGridField addDistance = new ListGridField ("", "");
         addDistance.setType (ListGridFieldType.ICON);
@@ -285,7 +286,8 @@
         locationsTable.setShowRecordComponents(true);
         locationsTable.setShowRecordComponentsByCell(true);
         locationsTable.setHeight100();
-        locationsTable.setEmptyMessage(MESSAGES.empty_table());
+        locationsTable.setEmptyMessage(MESSAGES.empty_filter());
+        locationsTable.setCanReorderFields(false);
 
         ListGridField addLocation = new ListGridField ("", "");
         addLocation.setType (ListGridFieldType.ICON);
@@ -353,7 +355,8 @@
         locationDistanceTable.setShowRecordComponents(true);
         locationDistanceTable.setShowRecordComponentsByCell(true);
         locationDistanceTable.setHeight100();
-        locationDistanceTable.setEmptyMessage(MESSAGES.empty_table());
+        locationDistanceTable.setEmptyMessage(MESSAGES.empty_filter());
+        locationDistanceTable.setCanReorderFields(false);
 
         ListGridField addfrom = new ListGridField ("", "");
         addfrom.setType (ListGridFieldType.ICON);

http://dive4elements.wald.intevation.org