diff options
author | Leif Åstrand <legioth@gmail.com> | 2017-02-16 10:13:22 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-02-16 12:38:08 +0200 |
commit | 77ebc459d2ecb29dd8a85d386bfb35a40c263f1e (patch) | |
tree | e9c4745f5907e62a18b2575be094b9d7cfedc807 /compatibility-server | |
parent | bed36cadcc0995d7320f1a9e03a52ec53bf2bc65 (diff) | |
download | vaadin-framework-77ebc459d2ecb29dd8a85d386bfb35a40c263f1e.tar.gz vaadin-framework-77ebc459d2ecb29dd8a85d386bfb35a40c263f1e.zip |
Add deprecation messages replaced legacy components (#8584)
* Add deprecation messages replaced legacy components
Diffstat (limited to 'compatibility-server')
-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 |