From 729d0af2dac293774f36882f610b8c69c2aca0dd Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Wed, 29 Aug 2012 14:09:12 +0300 Subject: Deprecate using Embedded for image and iframe content (#9087) --- server/src/com/vaadin/ui/Embedded.java | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'server') diff --git a/server/src/com/vaadin/ui/Embedded.java b/server/src/com/vaadin/ui/Embedded.java index a8663abd32..6a1fceed93 100644 --- a/server/src/com/vaadin/ui/Embedded.java +++ b/server/src/com/vaadin/ui/Embedded.java @@ -33,6 +33,10 @@ import com.vaadin.shared.ui.embedded.EmbeddedServerRpc; /** * Component for embedding external objects. + *

+ * As of Vaadin 7.0, the {@link Image}, {@link Flash}, and + * {@link EmbeddedBrowser} components should be used instead of + * Embedded whenever appropriate. * * @author Vaadin Ltd. * @since 3.0 @@ -47,12 +51,18 @@ public class Embedded extends AbstractComponent implements Vaadin6Component { /** * Image types. + * + * @deprecated As of 7.0, use the {@link Image} component instead. */ + @Deprecated public static final int TYPE_IMAGE = 1; /** * Browser ("iframe") type. + * + * @deprecated As of 7.0, use the {@link EmbeddedBrowser} component instead. */ + @Deprecated public static final int TYPE_BROWSER = 2; /** @@ -452,9 +462,9 @@ public class Embedded extends AbstractComponent implements Vaadin6Component { *

* This can be one of the following: *

*

* -- cgit v1.2.3