comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java @ 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
comparison
equal deleted inserted replaced
1563:41abc345d2f1 1564:3606f2caf93e
210 }}; 210 }};
211 211
212 ListGridField activeField = new ListGridField( 212 ListGridField activeField = new ListGridField(
213 PointRecord.ATTRIBUTE_ACTIVE, MSG.selection()); 213 PointRecord.ATTRIBUTE_ACTIVE, MSG.selection());
214 activeField.setType(ListGridFieldType.BOOLEAN); 214 activeField.setType(ListGridFieldType.BOOLEAN);
215 activeField.setDefaultValue(true);
215 216
216 listGrid.setFields(new ListGridField[] {activeField, xField, yField, 217 listGrid.setFields(new ListGridField[] {activeField, xField, yField,
217 nameField, removeField}); 218 nameField, removeField});
218 219
219 listGrid.addRecordClickHandler(new RecordClickHandler() { 220 listGrid.addRecordClickHandler(new RecordClickHandler() {

http://dive4elements.wald.intevation.org