summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Tree.java
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2015-09-24 11:53:58 +0300
committerDenis Anisimov <denis@vaadin.com>2015-10-16 09:58:35 +0300
commitbf030a07b0614c9782dd02669900529175069c15 (patch)
tree7609ceaac9d81f8994e7fa32f6d263a1e654f7b6 /server/src/com/vaadin/ui/Tree.java
parent5b4906440b4113674b5c7cd88be68c0581bc564e (diff)
downloadvaadin-framework-bf030a07b0614c9782dd02669900529175069c15.tar.gz
vaadin-framework-bf030a07b0614c9782dd02669900529175069c15.zip
Provide own states for a number of components (#18987).
Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1
Diffstat (limited to 'server/src/com/vaadin/ui/Tree.java')
-rw-r--r--server/src/com/vaadin/ui/Tree.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Tree.java b/server/src/com/vaadin/ui/Tree.java
index de8e74bb03..c46f7ca6ee 100644
--- a/server/src/com/vaadin/ui/Tree.java
+++ b/server/src/com/vaadin/ui/Tree.java
@@ -61,6 +61,7 @@ import com.vaadin.shared.ui.MultiSelectMode;
import com.vaadin.shared.ui.dd.VerticalDropLocation;
import com.vaadin.shared.ui.tree.TreeConstants;
import com.vaadin.shared.ui.tree.TreeServerRpc;
+import com.vaadin.shared.ui.tree.TreeState;
import com.vaadin.ui.declarative.DesignAttributeHandler;
import com.vaadin.ui.declarative.DesignContext;
import com.vaadin.ui.declarative.DesignException;
@@ -1973,4 +1974,8 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
return htmlContentAllowed;
}
+ @Override
+ protected TreeState getState() {
+ return (TreeState) super.getState();
+ }
}