Mercurial > dive4elements > river
changeset 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 | a77958780e1c |
children | f343b4c2d135 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/range/LocationsTable.java flys-client/src/main/java/de/intevation/flys/client/client/ui/range/RangeTable.java |
diffstat | 9 files changed, 31 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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 <raimund.renkert@intevation.de> + + * 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 <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/TableFilter.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();
--- 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
--- 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
--- 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
--- 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);
--- 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);
--- 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);
--- 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);