Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java @ 233:137daff2c732
Prepared UI elements for the location and distance input tables.
flys-client/trunk@1777 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 29 Apr 2011 10:12:02 +0000 |
parents | b92281182c6b |
children | 4a684d29404f |
comparison
equal
deleted
inserted
replaced
232:bc5f7d8084e2 | 233:137daff2c732 |
---|---|
18 import de.intevation.flys.client.client.event.StepBackHandler; | 18 import de.intevation.flys.client.client.event.StepBackHandler; |
19 import de.intevation.flys.client.client.event.StepForwardEvent; | 19 import de.intevation.flys.client.client.event.StepForwardEvent; |
20 import de.intevation.flys.client.client.event.StepForwardHandler; | 20 import de.intevation.flys.client.client.event.StepForwardHandler; |
21 import de.intevation.flys.client.shared.model.Data; | 21 import de.intevation.flys.client.shared.model.Data; |
22 import de.intevation.flys.client.shared.model.DataList; | 22 import de.intevation.flys.client.shared.model.DataList; |
23 | 23 import de.intevation.flys.client.shared.model.Artifact; |
24 | 24 |
25 /** | 25 /** |
26 * An abstract UIProvider that provides some basic methods. | 26 * An abstract UIProvider that provides some basic methods. |
27 * | 27 * |
28 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 28 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
42 protected List<StepBackHandler> backHandlers; | 42 protected List<StepBackHandler> backHandlers; |
43 | 43 |
44 /** The container that is used to position helper widgets.*/ | 44 /** The container that is used to position helper widgets.*/ |
45 protected Canvas helperContainer; | 45 protected Canvas helperContainer; |
46 | 46 |
47 /** The artifact that contains status information.*/ | |
48 protected Artifact artifact; | |
47 | 49 |
48 /** | 50 /** |
49 * Creates a new UIProvider instance of this class. | 51 * Creates a new UIProvider instance of this class. |
50 */ | 52 */ |
51 public AbstractUIProvider() { | 53 public AbstractUIProvider() { |
163 this.helperContainer = helperContainer; | 165 this.helperContainer = helperContainer; |
164 } | 166 } |
165 | 167 |
166 | 168 |
167 /** | 169 /** |
170 * This method injects an artifact that contains the status information. | |
171 * | |
172 * @param art An artifact containing status information. | |
173 */ | |
174 public void setArtifact(Artifact art) { | |
175 this.artifact = art; | |
176 } | |
177 | |
178 | |
179 /** | |
168 * This method needs to be implemented by concrete subclasses. It should | 180 * This method needs to be implemented by concrete subclasses. It should |
169 * create a new Canvas object with a representation of <i>data</i>. | 181 * create a new Canvas object with a representation of <i>data</i>. |
170 * | 182 * |
171 * @param data The data that should be displayed. | 183 * @param data The data that should be displayed. |
172 * | 184 * |