diff options
author | Leif Åstrand <legioth@gmail.com> | 2017-02-16 10:13:22 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2017-02-16 10:13:22 +0200 |
commit | 20947e0e0893c955ec6e42579a29a913c3c74883 (patch) | |
tree | a8197dd15f3dd8b2a11271a25305aaea26451ed5 | |
parent | 7f1cfd03d5b55f41ea911fcd53ce6fd168517cff (diff) | |
download | vaadin-framework-20947e0e0893c955ec6e42579a29a913c3c74883.tar.gz vaadin-framework-20947e0e0893c955ec6e42579a29a913c3c74883.zip |
Add deprecation messages replaced legacy components (#8584)
* Add deprecation messages replaced legacy components
-rw-r--r-- | compatibility-server/src/main/java/com/vaadin/v7/ui/DateField.java | 4 | ||||
-rw-r--r-- | compatibility-server/src/main/java/com/vaadin/v7/ui/OptionGroup.java | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/DateField.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/DateField.java index 0be6b236d0..61f670da6d 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/DateField.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/DateField.java @@ -35,6 +35,7 @@ import com.vaadin.event.FieldEvents.FocusListener; import com.vaadin.server.PaintException; import com.vaadin.server.PaintTarget; import com.vaadin.ui.Component; +import com.vaadin.ui.DateTimeField; import com.vaadin.ui.LegacyComponent; import com.vaadin.ui.declarative.DesignAttributeHandler; import com.vaadin.ui.declarative.DesignContext; @@ -65,6 +66,9 @@ import com.vaadin.v7.shared.ui.datefield.TextualDateFieldState; * * @author Vaadin Ltd. * @since 3.0 + * + * @deprecated As of 8.0, use {@link com.vaadin.ui.DateField} or + * {@link DateTimeField} instead. */ @SuppressWarnings("serial") @Deprecated diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/OptionGroup.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/OptionGroup.java index 2cf1f57962..5a64b5a5ca 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/OptionGroup.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/OptionGroup.java @@ -29,6 +29,8 @@ import com.vaadin.event.FieldEvents.FocusEvent; import com.vaadin.event.FieldEvents.FocusListener; import com.vaadin.server.PaintException; import com.vaadin.server.PaintTarget; +import com.vaadin.ui.CheckBoxGroup; +import com.vaadin.ui.RadioButtonGroup; import com.vaadin.ui.declarative.DesignContext; import com.vaadin.ui.declarative.DesignFormatter; import com.vaadin.v7.data.Container; @@ -38,6 +40,9 @@ import com.vaadin.v7.shared.ui.optiongroup.OptionGroupState; /** * Configures select to be used as an option group. + * + * @deprecated As of 8.0, use {@link RadioButtonGroup} or {@link CheckBoxGroup} + * instead */ @SuppressWarnings("serial") @Deprecated |