diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2016-12-22 16:26:12 +0200 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2016-12-22 16:26:12 +0200 |
commit | 9664620aaa3b03306b8876d45e5c9a77e6409aa8 (patch) | |
tree | 6b7c45ac56a44598ec63359d4c3d8f7f48da654c | |
parent | 7143ac15789848269d00024ed9dc68b77402fbb9 (diff) | |
download | vaadin-framework-9664620aaa3b03306b8876d45e5c9a77e6409aa8.tar.gz vaadin-framework-9664620aaa3b03306b8876d45e5c9a77e6409aa8.zip |
Listing must be a Component
-rw-r--r-- | server/src/main/java/com/vaadin/data/Listing.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/Listing.java b/server/src/main/java/com/vaadin/data/Listing.java index 680e05db8a..064948e3ba 100644 --- a/server/src/main/java/com/vaadin/data/Listing.java +++ b/server/src/main/java/com/vaadin/data/Listing.java @@ -21,6 +21,7 @@ import java.util.stream.Stream; import com.vaadin.data.provider.BackEndDataProvider; import com.vaadin.data.provider.DataProvider; +import com.vaadin.ui.Component; /** * A generic interface for components that show a list of data. @@ -34,7 +35,8 @@ import com.vaadin.data.provider.DataProvider; * provider and filter * @since 8.0 */ -public interface Listing<T, D extends DataProvider<T, ?>> extends Serializable { +public interface Listing<T, D extends DataProvider<T, ?>> + extends Component, Serializable { /** * Returns the source of data items used by this listing. |