# HG changeset patch # User Raimund Renkert # Date 1315830214 0 # Node ID dbaef661d0e5eb61f888e55536f3b19c245fe0e0 # Parent a77958780e1c64c5bd4264fef5d8be4325a657ab Changed i18n string for empty table and set header fields to fixed order. flys-client/trunk@2703 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r a77958780e1c -r dbaef661d0e5 flys-client/ChangeLog --- a/flys-client/ChangeLog Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/ChangeLog Mon Sep 12 12:23:34 2011 +0000 @@ -1,3 +1,17 @@ +2011-09-12 Raimund Renkert + + * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java, + src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java, + src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java, + src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java: + Changed i18n string for empty table and set header fields to fixed order. + + * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, + src/main/java/de/intevation/flys/client/client/FLYSConstants.java, + src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, + src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: + Added i18n string for empty table. + 2011-09-12 Raimund Renkert * src/main/java/de/intevation/flys/client/client/ui/TableFilter.java: diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Mon Sep 12 12:23:34 2011 +0000 @@ -58,6 +58,8 @@ String empty_table(); + String empty_filter(); + String date_format(); String datetime_format(); diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Mon Sep 12 12:23:34 2011 +0000 @@ -22,6 +22,7 @@ no_projects = No existing calculations found. load_projects = Load calculations... empty_table = Loading data... +empty_filter = No data found. date_format = yyyy-MM-dd datetime_format = yyyy-MM-dd HH:mm new_project = New Project diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Mon Sep 12 12:23:34 2011 +0000 @@ -22,6 +22,7 @@ no_projects = Keine alten Berechnungen gefunden. load_projects = Lade Berechnungen... empty_table = Lade Daten... +empty_filter = Keine Daten gefunden. date_format = dd.MM.yyyy datetime_format = dd.MM.yyyy HH:mm new_project = Neues Projekt diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Mon Sep 12 12:23:34 2011 +0000 @@ -22,6 +22,7 @@ no_projects = No existing calculations found. load_projects = Load calculations... empty_table = Loading data... +empty_filter = No data found. date_format = yyyy-MM-dd datetime_format = yyyy-MM-dd HH:mm new_project = New Project diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java --- 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); diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java Mon Sep 12 12:23:34 2011 +0000 @@ -131,7 +131,8 @@ locationTable.setShowRecordComponents(true); locationTable.setShowRecordComponentsByCell(true); locationTable.setHeight100(); - locationTable.setEmptyMessage(MESSAGES.empty_table()); + locationTable.setEmptyMessage(MESSAGES.empty_filter()); + locationTable.setCanReorderFields(false); ListGridField addLocation = new ListGridField ("", ""); addLocation.setType (ListGridFieldType.ICON); diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java Mon Sep 12 12:23:34 2011 +0000 @@ -31,7 +31,8 @@ setShowHeaderContextMenu(false); setShowRecordComponents(true); setShowRecordComponentsByCell(true); - setEmptyMessage(MSG.empty_table()); + setEmptyMessage(MSG.empty_filter()); + setCanReorderFields(false); ListGridField addfrom = new ListGridField ("", ""); addfrom.setType(ListGridFieldType.ICON); diff -r a77958780e1c -r dbaef661d0e5 flys-client/src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java Mon Sep 12 11:47:42 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java Mon Sep 12 12:23:34 2011 +0000 @@ -31,7 +31,8 @@ setShowHeaderContextMenu(false); setShowRecordComponents(true); setShowRecordComponentsByCell(true); - setEmptyMessage(MESSAGES.empty_table()); + setEmptyMessage(MESSAGES.empty_filter()); + setCanReorderFields(false); ListGridField addDistance = new ListGridField ("", ""); addDistance.setType (ListGridFieldType.ICON);