From: Artur Signell Date: Wed, 21 Jan 2009 13:14:21 +0000 (+0000) Subject: Added @deprecated to OrderedLayout constructors so it is easier for developers to... X-Git-Tag: 6.7.0.beta1~3304 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3bc99647a64939f49ebc066b2fc97ce012cc5d77;p=vaadin-framework.git Added @deprecated to OrderedLayout constructors so it is easier for developers to find out what to use instead. svn changeset:6608/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/ui/OrderedLayout.java b/src/com/itmill/toolkit/ui/OrderedLayout.java index b197f60de6..e95c490ee1 100644 --- a/src/com/itmill/toolkit/ui/OrderedLayout.java +++ b/src/com/itmill/toolkit/ui/OrderedLayout.java @@ -40,7 +40,10 @@ public class OrderedLayout extends AbstractOrderedLayout { /** * Creates a new ordered layout. The order of the layout is * ORIENTATION_VERTICAL. + * + * @deprecated Use VerticalLayout instead. */ + @Deprecated public OrderedLayout() { this(ORIENTATION_VERTICAL); } @@ -51,7 +54,10 @@ public class OrderedLayout extends AbstractOrderedLayout { * * @param orientation * the Orientation of the layout. + * + * @deprecated Use VerticalLayout/HorizontalLayout instead. */ + @Deprecated public OrderedLayout(int orientation) { this.orientation = orientation; if (orientation == ORIENTATION_VERTICAL) {