diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIState.java | 9 |
1 files changed, 9 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 6f7a531eb6..1a2e1e4f46 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -72,6 +72,7 @@ public class UIState extends TabIndexState { * @since 7.3 */ public String theme; + public ReconnectDialogConfigurationState reconnectDialog = new ReconnectDialogConfigurationState(); { primaryStyleName = "v-ui"; // Default is 1 for legacy reasons @@ -123,6 +124,14 @@ public class UIState extends TabIndexState { } } + public static class ReconnectDialogConfigurationState implements + Serializable { + public String dialogText = "Server connection lost, trying to reconnect..."; + public String dialogTextGaveUp = "Server connection lost."; + public int reconnectAttempts = 10000; + public int reconnectInterval = 5000; + } + public static class LocaleServiceState implements Serializable { public List<LocaleData> localeData = new ArrayList<LocaleData>(); } |