comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/MapSelection.java @ 51:a2923d63f530

Introduced a data structure DataList to manage to list of Data objects of a single state. flys-client/trunk@1505 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 17 Mar 2011 16:44:51 +0000
parents d573ae975330
children 3d5d7788d471
comparison
equal deleted inserted replaced
50:827eb4e06ebf 51:a2923d63f530
6 import com.smartgwt.client.types.VerticalAlignment; 6 import com.smartgwt.client.types.VerticalAlignment;
7 import com.smartgwt.client.widgets.Canvas; 7 import com.smartgwt.client.widgets.Canvas;
8 import com.smartgwt.client.widgets.Img; 8 import com.smartgwt.client.widgets.Img;
9 import com.smartgwt.client.widgets.layout.HLayout; 9 import com.smartgwt.client.widgets.layout.HLayout;
10 10
11 import de.intevation.flys.client.shared.model.Data; 11 import de.intevation.flys.client.shared.model.DataList;
12 import de.intevation.flys.client.client.FLYSImages; 12 import de.intevation.flys.client.client.FLYSImages;
13 13
14 14
15 /** 15 /**
16 * This UIProvider displays the DataItems contained in the Data object in a 16 * This UIProvider displays the DataItems contained in the Data object in a
35 * data items in a combobox stored in <i>data</i>.<br> 35 * data items in a combobox stored in <i>data</i>.<br>
36 * 36 *
37 * <b>TODO: The map panel for the river selection needs to be 37 * <b>TODO: The map panel for the river selection needs to be
38 * implemented!</b> 38 * implemented!</b>
39 * 39 *
40 * @param data The {@link Data} object. 40 * @param data The {@link DataList} object.
41 * 41 *
42 * @return a combobox. 42 * @return a combobox.
43 */ 43 */
44 protected Canvas createWidget(Data data) { 44 protected Canvas createWidget(DataList data) {
45 GWT.log("MapSelection - create()"); 45 GWT.log("MapSelection - create()");
46 46
47 HLayout h = new HLayout(); 47 HLayout h = new HLayout();
48 h.setAlign(VerticalAlignment.TOP); 48 h.setAlign(VerticalAlignment.TOP);
49 49

http://dive4elements.wald.intevation.org