Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/client/ui/UIProvider.java @ 5834:f507086aa94b
Repaired internal references.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 12:31:32 +0200 |
parents | flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProvider.java@69a498896c9c |
children | 821a02bbfb4e |
comparison
equal
deleted
inserted
replaced
5833:a2bdc0f524e8 | 5834:f507086aa94b |
---|---|
1 package de.intevation.flys.client.client.ui; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 import com.smartgwt.client.widgets.Canvas; | |
6 import com.smartgwt.client.widgets.layout.VLayout; | |
7 | |
8 import de.intevation.flys.client.shared.model.Data; | |
9 import de.intevation.flys.client.shared.model.DataList; | |
10 import de.intevation.flys.client.shared.model.Artifact; | |
11 import de.intevation.flys.client.shared.model.Collection; | |
12 | |
13 /** | |
14 * This interface describes a method that creates a Canvas element displaying | |
15 * DataItems for a current state of the artifact. | |
16 * | |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
18 */ | |
19 public interface UIProvider extends Serializable { | |
20 | |
21 /** | |
22 * This method creates a Canvas element showing the DataItems in | |
23 * <i>data</i>. | |
24 * | |
25 * @param data The DataList object. | |
26 * | |
27 * @return the Canvas showing the Data. | |
28 */ | |
29 public Canvas create(DataList data); | |
30 | |
31 | |
32 /** | |
33 * This method creates a Canvas element showing the old Data objects in the | |
34 * DataList <i>data</i>. | |
35 * | |
36 * @param dataList The DataList which elements should be displayed. | |
37 * | |
38 * @return a Canvas displaying the Data. | |
39 */ | |
40 public Canvas createOld(DataList dataList); | |
41 | |
42 | |
43 public Canvas createHelpLink(DataList dataList, Data data); | |
44 | |
45 | |
46 /** | |
47 * This method injects a container that is used to position helper widgets. | |
48 * | |
49 * @param container A container that is used to position helper widgets. | |
50 */ | |
51 public void setContainer(VLayout container); | |
52 | |
53 | |
54 /** | |
55 * Sets an artifact that contains the status data information for a project. | |
56 * | |
57 * @param artifact The artifact containing status information. | |
58 */ | |
59 public void setArtifact(Artifact artifact); | |
60 | |
61 | |
62 /** | |
63 * Sets the parent Collection of the Artifact. | |
64 */ | |
65 public void setCollection(Collection collection); | |
66 | |
67 public void setParameterList(ParameterList list); | |
68 } | |
69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |