aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-04-27 11:04:40 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-04-27 12:26:13 +0000
commit2d8f29f643fd04ed3a243ddd7c49545acf97236b (patch)
treea228a7809135f92023f5450ec21da924767a111f /server
parent6de23550af57aacdcffd8a2c03ff1299bfb90863 (diff)
downloadvaadin-framework-2d8f29f643fd04ed3a243ddd7c49545acf97236b.tar.gz
vaadin-framework-2d8f29f643fd04ed3a243ddd7c49545acf97236b.zip
Restore unintended API changes (#17645)
This reverts commit 0ae745206a9ebc759a126606621f6cbd9f48b00d and restores a removed public method. Change-Id: I8eff9668d0a5c49fb63ecea7b0214e478b0aeee8
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/Tree.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Tree.java b/server/src/com/vaadin/ui/Tree.java
index 3c5758c1ea..a86a9bd64b 100644
--- a/server/src/com/vaadin/ui/Tree.java
+++ b/server/src/com/vaadin/ui/Tree.java
@@ -1301,6 +1301,19 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
}
}
+ /**
+ * Tree does not support lazy options loading mode. Setting this true will
+ * throw UnsupportedOperationException.
+ *
+ * @see com.vaadin.ui.Select#setLazyLoading(boolean)
+ */
+ public void setLazyLoading(boolean useLazyLoading) {
+ if (useLazyLoading) {
+ throw new UnsupportedOperationException(
+ "Lazy options loading is not supported by Tree.");
+ }
+ }
+
private ItemStyleGenerator itemStyleGenerator;
private DropHandler dropHandler;