changeset 1564:3606f2caf93e

Make manual Points active by default. flys-client/trunk@3816 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 30 Jan 2012 08:38:18 +0000
parents 41abc345d2f1
children 87f5ed6960e8
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Fri Jan 27 16:26:25 2012 +0000
+++ b/flys-client/ChangeLog	Mon Jan 30 08:38:18 2012 +0000
@@ -1,3 +1,8 @@
+2012-01-30  Felix Wolfsteller <felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java:
+	  Set activity field to 'active' by default.
+
 2012-01-27  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java	Fri Jan 27 16:26:25 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java	Mon Jan 30 08:38:18 2012 +0000
@@ -212,6 +212,7 @@
         ListGridField activeField = new ListGridField(
             PointRecord.ATTRIBUTE_ACTIVE, MSG.selection());
         activeField.setType(ListGridFieldType.BOOLEAN);
+        activeField.setDefaultValue(true);
 
         listGrid.setFields(new ListGridField[] {activeField, xField, yField,
             nameField, removeField});

http://dive4elements.wald.intevation.org