Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java @ 2902:82043c09a659
Add all events to the list of selected events in fix analysis.
flys-client/trunk@4660 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 14 Jun 2012 10:51:08 +0000 |
parents | 93302bd16f42 |
children | 0173b4498054 |
comparison
equal
deleted
inserted
replaced
2901:2fdeb239bbd2 | 2902:82043c09a659 |
---|---|
16 import de.intevation.flys.client.shared.model.Data; | 16 import de.intevation.flys.client.shared.model.Data; |
17 import de.intevation.flys.client.shared.model.DataItem; | 17 import de.intevation.flys.client.shared.model.DataItem; |
18 import de.intevation.flys.client.shared.model.DataList; | 18 import de.intevation.flys.client.shared.model.DataList; |
19 import de.intevation.flys.client.shared.model.IntDataItem; | 19 import de.intevation.flys.client.shared.model.IntDataItem; |
20 import de.intevation.flys.client.shared.model.IntegerArrayData; | 20 import de.intevation.flys.client.shared.model.IntegerArrayData; |
21 import de.intevation.flys.client.shared.model.FixingsOverviewInfo.FixEvent; | |
21 | 22 |
22 import de.intevation.flys.client.client.services.FixingsOverviewService; | 23 import de.intevation.flys.client.client.services.FixingsOverviewService; |
23 import de.intevation.flys.client.client.services.FixingsOverviewServiceAsync; | 24 import de.intevation.flys.client.client.services.FixingsOverviewServiceAsync; |
24 | 25 |
25 /** | 26 /** |
133 public boolean renderCheckboxes() { | 134 public boolean renderCheckboxes() { |
134 return true; | 135 return true; |
135 } | 136 } |
136 | 137 |
137 | 138 |
138 public void success() {} | 139 public void success() { |
140 List<FixEvent> fe = fixInfo.getEvents(); | |
141 for (int i = 0; i < fe.size(); i++) { | |
142 events.add (fe.get(i).getCId()); | |
143 } | |
144 } | |
139 | 145 |
140 public void dumpGWT(String cid) { | 146 public void dumpGWT(String cid) { |
141 GWT.log("Setting values for cId: " + cid); | 147 GWT.log("Setting values for cId: " + cid); |
142 GWT.log("River: " + fixInfo.getRiver()); | 148 GWT.log("River: " + fixInfo.getRiver()); |
143 GWT.log("Date: " + fixInfo.getEventByCId(cid).getDate()); | 149 GWT.log("Date: " + fixInfo.getEventByCId(cid).getDate()); |