diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-04-18 12:35:10 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-19 11:53:44 +0000 |
commit | 0cbba9d6f4a65c04ca0e396c440de0c1c25945ec (patch) | |
tree | 115a33465849bfd516494e342e5ada6a5d47173b /shared | |
parent | 457afbaeda4373541a634b12d195dd847948f1e2 (diff) | |
download | vaadin-framework-0cbba9d6f4a65c04ca0e396c440de0c1c25945ec.tar.gz vaadin-framework-0cbba9d6f4a65c04ca0e396c440de0c1c25945ec.zip |
Initial support for toggling push on the fly (#11506)
Still missing is the ability to load vaadinPush.js if it has not yet
been loaded.
Change-Id: Ibe3596c38a7c4e3432b0396072866ee3072e6d30
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIState.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index fbb6427c6f..589744a48c 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -17,6 +17,7 @@ package com.vaadin.shared.ui.ui; import java.io.Serializable; +import com.vaadin.shared.communication.PushMode; import com.vaadin.shared.ui.TabIndexState; public class UIState extends TabIndexState { @@ -24,6 +25,8 @@ public class UIState extends TabIndexState { public LoadingIndicatorConfiguration loadingIndicatorConfiguration = new LoadingIndicatorConfiguration(); public int pollInterval = -1; + public PushMode pushMode = PushMode.DISABLED; + public static class LoadingIndicatorConfiguration implements Serializable { public int initialDelay = 300; public int delayStateDelay = 1500; |