From b38dc12c24ca5eb0cc597309e0317e4364585433 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Sat, 25 Apr 2015 16:07:36 +0300 Subject: Refactor reconnect dialog (#11733,#17075) * Add grace period for showing the reconnect dialog * Try to reconnect once immediately * Stop reconnecting when application is stopped * Make it possible and easy to replace the reconnect dialog Change-Id: I6695e7473859827db9dd64cbd373696aeb5d27a5 --- shared/src/com/vaadin/shared/ui/ui/UIState.java | 1 + 1 file changed, 1 insertion(+) (limited to 'shared') diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index 1a2e1e4f46..0e21324cc2 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -130,6 +130,7 @@ public class UIState extends TabIndexState { public String dialogTextGaveUp = "Server connection lost."; public int reconnectAttempts = 10000; public int reconnectInterval = 5000; + public int dialogGracePeriod = 1000; } public static class LocaleServiceState implements Serializable { -- cgit v1.2.3