Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProvider.java @ 20:c128d675386b
Added UIProviders that are used to create widgets for entering data.
flys-client/trunk@1334 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 22 Feb 2011 17:17:12 +0000 |
parents | |
children | a2923d63f530 |
comparison
equal
deleted
inserted
replaced
19:f48b2cb2e219 | 20:c128d675386b |
---|---|
1 package de.intevation.flys.client.client.ui; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 import com.smartgwt.client.widgets.Canvas; | |
6 | |
7 import de.intevation.flys.client.shared.model.Data; | |
8 | |
9 | |
10 /** | |
11 * This interface describes a method that creates a Canvas element displaying | |
12 * DataItems for a current state of the artifact. | |
13 * | |
14 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
15 */ | |
16 public interface UIProvider extends Serializable { | |
17 | |
18 /** | |
19 * This method creates a Canvas element showing the DataItems in | |
20 * <i>data</i>. | |
21 * | |
22 * @param data The data object. | |
23 * | |
24 * @return the Canvas showing the Data. | |
25 */ | |
26 public Canvas create(Data data); | |
27 } | |
28 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |