From 8e17afda2ec060f56da0626fb40b088670777e8c Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 13 Jan 2015 21:55:26 +0200 Subject: Rename BackgroundMessage -> NoLoadingIndicator (#15373) Change-Id: Icc25e5727880baa9dceba3394522b3c5b3a4314f --- client/src/com/vaadin/client/ApplicationConnection.java | 2 +- client/src/com/vaadin/client/metadata/TypeDataStore.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'client') 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, -- cgit v1.2.3