[PATCH 2 of 2] issue1542: Include validity also in qdtable, reorder code, widen column width
Wald Commits
scm-commit at wald.intevation.org
Wed Nov 13 08:10:21 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1384326600 -3600
# Node ID 84107f13167cde8864ddbc5981872291cbed6f59
# Parent c05eff7acd2db25ceedabb84465804a45d383bbd
issue1542: Include validity also in qdtable, reorder code, widen column width.
diff -r c05eff7acd2d -r 84107f13167c gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/QDTable.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/QDTable.java Wed Nov 13 08:09:19 2013 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/QDTable.java Wed Nov 13 08:10:00 2013 +0100
@@ -73,6 +73,14 @@
type.setType(ListGridFieldType.TEXT);
type.setWidth("10%");
+ ListGridField startTime = new ListGridField("starttime", MESSAGE.starttime());
+ startTime.setType(ListGridFieldType.DATE);
+ startTime.setWidth("60");
+
+ ListGridField stopTime = new ListGridField("stoptime", MESSAGE.stoptime());
+ stopTime.setType(ListGridFieldType.DATE);
+ stopTime.setWidth("60");
+
final NumberFormat nf = NumberFormat.getDecimalFormat();
ListGridField value = new ListGridField("value", MESSAGE.wq_value_q());
@@ -99,8 +107,7 @@
official.setType(ListGridFieldType.TEXT);
official.setWidth("25%");
-
- setFields(addMax, addMin, select, name, type, value, official);
+ setFields(addMax, addMin, select, name, type, value, official, startTime, stopTime);
}
public void hideIconFields () {
diff -r c05eff7acd2d -r 84107f13167c gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/WTable.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/WTable.java Wed Nov 13 08:09:19 2013 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/wq/WTable.java Wed Nov 13 08:10:00 2013 +0100
@@ -47,17 +47,17 @@
name.setType(ListGridFieldType.TEXT);
name.setWidth("*");
+ ListGridField type = new ListGridField("type", MESSAGE.type());
+ type.setType(ListGridFieldType.TEXT);
+ type.setWidth("50");
+
ListGridField startTime = new ListGridField("starttime", MESSAGE.starttime());
startTime.setType(ListGridFieldType.DATE);
- startTime.setWidth("50");
+ startTime.setWidth("60");
ListGridField stopTime = new ListGridField("stoptime", MESSAGE.stoptime());
stopTime.setType(ListGridFieldType.DATE);
- stopTime.setWidth("50");
-
- ListGridField type = new ListGridField("type", MESSAGE.type());
- type.setType(ListGridFieldType.TEXT);
- type.setWidth("50");
+ stopTime.setWidth("60");
final NumberFormat nf = NumberFormat.getDecimalFormat();
More information about the Dive4elements-commits
mailing list