changeset 904:1e08a5b0add9

Changed table header string and set the column width to percental value. (Issue194) flys-client/trunk@2754 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 15 Sep 2011 08:39:07 +0000
parents dd702348b878
children 478a571f1f94
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/wq/QDTable.java
diffstat 6 files changed, 23 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Sep 14 16:13:17 2011 +0000
+++ b/flys-client/ChangeLog	Thu Sep 15 08:39:07 2011 +0000
@@ -1,3 +1,17 @@
+2011-09-15  Raimund Renkert <raimund.renkert@intevation.de>
+
+	Issue194
+
+	* src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java:
+	  Changed table header string and set the column width to percental
+	  value.
+
+	* 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 "Q/D" table header.
+
 2011-09-14  Raimund Renkert <raimund.renkert@intevation.de>
 
 	Issue200
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Wed Sep 14 16:13:17 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Thu Sep 15 08:39:07 2011 +0000
@@ -276,6 +276,8 @@
 
     String chart_themepanel_header_actions();
 
+    String discharge();
+
     // ERRORS
 
     String error_read_minmax_values();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Wed Sep 14 16:13:17 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Thu Sep 15 08:39:07 2011 +0000
@@ -47,6 +47,7 @@
 unitTo = km a
 unitWidth = m
 search = Search
+discharge = FIXME(Name)
 
 dpLabelFrom = From
 dpUnitFrom = km
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Wed Sep 14 16:13:17 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Thu Sep 15 08:39:07 2011 +0000
@@ -47,6 +47,7 @@
 unitTo = km a
 unitWidth = m
 search = Suchbegriff
+discharge = Kennzeichnender Abfluss
 
 dpLabelFrom = Von
 dpUnitFrom = km
@@ -85,7 +86,7 @@
 helperPanelTitle = Eingabeunterst\u00fctzung
 wqW = W am Pegel [cm]
 wqQ = Q [m\u00b3/s]
-wqQGauge = Q [m\u00b3/s] am Pegel (Kennzeichnender Abfluss)
+wqQGauge = Q [m\u00b3/s] am Pegel
 wqSingle = Einzelwerte
 wqRange = Wertebereich
 unitWNN = W [NN+m]
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties	Wed Sep 14 16:13:17 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties	Thu Sep 15 08:39:07 2011 +0000
@@ -47,6 +47,7 @@
 unitTo = km a
 unitWidth = m
 search = Search
+discharge = FIXME(Name)
 
 dpLabelFrom = From
 dpUnitFrom = km
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java	Wed Sep 14 16:13:17 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/wq/QDTable.java	Thu Sep 15 08:39:07 2011 +0000
@@ -33,17 +33,17 @@
         setShowRecordComponentsByCell(true);
         setEmptyMessage(MESSAGE.empty_table());
 
-        ListGridField name = new ListGridField("name", MESSAGE.name());
+        ListGridField name = new ListGridField("name", MESSAGE.discharge());
         name.setType(ListGridFieldType.TEXT);
         name.setWidth("*");
 
         ListGridField type = new ListGridField("type", MESSAGE.type());
         type.setType(ListGridFieldType.TEXT);
-        type.setWidth("50");
+        type.setWidth("20%");
 
         ListGridField value = new ListGridField("value", MESSAGE.wq_value());
         value.setType(ListGridFieldType.FLOAT);
-        type.setWidth("50");
+        value.setWidth("20%");
 
         setFields(name, type, value);
     }

http://dive4elements.wald.intevation.org