Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.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 | 87a44f8e25cc |
children | 246af33f621c |
comparison
equal
deleted
inserted
replaced
50:827eb4e06ebf | 51:a2923d63f530 |
---|---|
11 | 11 |
12 import de.intevation.flys.client.client.event.HasStepForwardHandlers; | 12 import de.intevation.flys.client.client.event.HasStepForwardHandlers; |
13 import de.intevation.flys.client.client.event.StepForwardEvent; | 13 import de.intevation.flys.client.client.event.StepForwardEvent; |
14 import de.intevation.flys.client.client.event.StepForwardHandler; | 14 import de.intevation.flys.client.client.event.StepForwardHandler; |
15 import de.intevation.flys.client.shared.model.Data; | 15 import de.intevation.flys.client.shared.model.Data; |
16 import de.intevation.flys.client.shared.model.DataList; | |
16 | 17 |
17 | 18 |
18 /** | 19 /** |
19 * An abstract UIProvider that provides some basic methods. | 20 * An abstract UIProvider that provides some basic methods. |
20 * | 21 * |
80 * | 81 * |
81 * @param data The data that should be displayed. | 82 * @param data The data that should be displayed. |
82 * | 83 * |
83 * @return a Canvas object that displays <i>data</i>. | 84 * @return a Canvas object that displays <i>data</i>. |
84 */ | 85 */ |
85 public abstract Canvas create(Data data); | 86 public abstract Canvas create(DataList data); |
86 | 87 |
87 | 88 |
88 /** | 89 /** |
89 * This method needs to be implemented by concrete subclasses. It should | 90 * This method needs to be implemented by concrete subclasses. It should |
90 * return the selected data. | 91 * return the selected data. |