From bf030a07b0614c9782dd02669900529175069c15 Mon Sep 17 00:00:00 2001 From: Denis Anisimov Date: Thu, 24 Sep 2015 11:53:58 +0300 Subject: Provide own states for a number of components (#18987). Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1 --- server/src/com/vaadin/ui/Tree.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/src/com/vaadin/ui/Tree.java') 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(); + } } -- cgit v1.2.3