Mercurial > dive4elements > river
changeset 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 | 2fdeb239bbd2 |
children | f05f5586f5fd |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java |
diffstat | 2 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Thu Jun 14 10:30:10 2012 +0000 +++ b/flys-client/ChangeLog Thu Jun 14 10:51:08 2012 +0000 @@ -1,3 +1,8 @@ +2012-06-14 Raimund Renkert <raimund.renkert@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java: + Add all events to the list of selected events. + 2012-06-14 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java Thu Jun 14 10:30:10 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java Thu Jun 14 10:51:08 2012 +0000 @@ -18,6 +18,7 @@ import de.intevation.flys.client.shared.model.DataList; import de.intevation.flys.client.shared.model.IntDataItem; import de.intevation.flys.client.shared.model.IntegerArrayData; +import de.intevation.flys.client.shared.model.FixingsOverviewInfo.FixEvent; import de.intevation.flys.client.client.services.FixingsOverviewService; import de.intevation.flys.client.client.services.FixingsOverviewServiceAsync; @@ -135,7 +136,12 @@ } - public void success() {} + public void success() { + List<FixEvent> fe = fixInfo.getEvents(); + for (int i = 0; i < fe.size(); i++) { + events.add (fe.get(i).getCId()); + } + } public void dumpGWT(String cid) { GWT.log("Setting values for cId: " + cid);