summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-12-22 16:26:12 +0200
committerIlia Motornyi <elmot@vaadin.com>2016-12-22 16:26:12 +0200
commit9664620aaa3b03306b8876d45e5c9a77e6409aa8 (patch)
tree6b7c45ac56a44598ec63359d4c3d8f7f48da654c
parent7143ac15789848269d00024ed9dc68b77402fbb9 (diff)
downloadvaadin-framework-9664620aaa3b03306b8876d45e5c9a77e6409aa8.tar.gz
vaadin-framework-9664620aaa3b03306b8876d45e5c9a77e6409aa8.zip
Listing must be a Component
-rw-r--r--server/src/main/java/com/vaadin/data/Listing.java4
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.