diff options
author | Leif Åstrand <leif@vaadin.com> | 2015-01-13 21:55:26 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-01-13 20:15:00 +0000 |
commit | 8e17afda2ec060f56da0626fb40b088670777e8c (patch) | |
tree | dc78c93c4739198daba52efe293b20f0bf42acf3 /client | |
parent | 2fd0f18ec8362a23bf48069c64270344782e8eea (diff) | |
download | vaadin-framework-8e17afda2ec060f56da0626fb40b088670777e8c.tar.gz vaadin-framework-8e17afda2ec060f56da0626fb40b088670777e8c.zip |
Rename BackgroundMessage -> NoLoadingIndicator (#15373)
Change-Id: Icc25e5727880baa9dceba3394522b3c5b3a4314f
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ApplicationConnection.java | 2 | ||||
-rw-r--r-- | client/src/com/vaadin/client/metadata/TypeDataStore.java | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java index c00e5a8dae..6abaf28eda 100644 --- a/client/src/com/vaadin/client/ApplicationConnection.java +++ b/client/src/com/vaadin/client/ApplicationConnection.java @@ -2794,7 +2794,7 @@ public class ApplicationConnection implements HasHandlers { parameterTypes = method.getParameterTypes(); showLoadingIndicator |= !TypeDataStore - .isBackgroundMessage(method); + .isNoLoadingIndicator(method); } catch (NoDataException e) { throw new RuntimeException("No type data for " + invocation.toString(), e); diff --git a/client/src/com/vaadin/client/metadata/TypeDataStore.java b/client/src/com/vaadin/client/metadata/TypeDataStore.java index adbf24d411..46f26f1b25 100644 --- a/client/src/com/vaadin/client/metadata/TypeDataStore.java +++ b/client/src/com/vaadin/client/metadata/TypeDataStore.java @@ -29,7 +29,7 @@ import com.vaadin.shared.annotations.NoLayout; public class TypeDataStore { public static enum MethodAttribute { - DELAYED, LAST_ONLY, NO_LAYOUT, BACKGROUND_MESSAGE; + DELAYED, LAST_ONLY, NO_LAYOUT, NO_LOADING_INDICATOR; } private static final String CONSTRUCTOR_NAME = "!new"; @@ -219,8 +219,8 @@ public class TypeDataStore { return hasMethodAttribute(method, MethodAttribute.DELAYED); } - public static boolean isBackgroundMessage(Method method) { - return hasMethodAttribute(method, MethodAttribute.BACKGROUND_MESSAGE); + public static boolean isNoLoadingIndicator(Method method) { + return hasMethodAttribute(method, MethodAttribute.NO_LOADING_INDICATOR); } private static boolean hasMethodAttribute(Method method, |