From aa913676e513170244169352dd97d6b583b50065 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 4 Sep 2012 11:15:53 +0300 Subject: Move UI class info querying to UIProvider (#9402) --- uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java | 4 ++-- uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java | 4 ++-- .../minitutorials/v7a1/DifferentFeaturesForDifferentClients.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'uitest/src/com/vaadin') diff --git a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java index 0f576a0f69..bad5b53478 100644 --- a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java +++ b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java @@ -1,9 +1,9 @@ package com.vaadin.tests.application; import com.vaadin.Application; +import com.vaadin.server.AbstractUIProvider; import com.vaadin.server.DownloadStream; import com.vaadin.server.PaintException; -import com.vaadin.server.UIProvider; import com.vaadin.server.WrappedRequest; import com.vaadin.tests.components.AbstractTestApplication; import com.vaadin.tests.integration.FlagSeResource; @@ -73,7 +73,7 @@ public class ThreadLocalInstances extends AbstractTestApplication { @Override public void init() { reportCurrentStatus("app init"); - addUIProvider(new UIProvider() { + addUIProvider(new AbstractUIProvider() { @Override public UI createInstance(Application application, Class type, WrappedRequest request) { diff --git a/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java b/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java index 3980cbd4de..f33037f171 100644 --- a/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java +++ b/uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java @@ -1,8 +1,8 @@ package com.vaadin.tests.components.ui; import com.vaadin.Application; +import com.vaadin.server.AbstractUIProvider; import com.vaadin.server.ExternalResource; -import com.vaadin.server.UIProvider; import com.vaadin.server.WrappedRequest; import com.vaadin.shared.ui.label.ContentMode; import com.vaadin.tests.components.AbstractTestApplication; @@ -22,7 +22,7 @@ public class LazyInitUIs extends AbstractTestApplication { @Override public void init() { - addUIProvider(new UIProvider() { + addUIProvider(new AbstractUIProvider() { @Override public UI createInstance(Application application, diff --git a/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java b/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java index 9e4c719830..8c2a816e1c 100644 --- a/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java +++ b/uitest/src/com/vaadin/tests/minitutorials/v7a1/DifferentFeaturesForDifferentClients.java @@ -17,7 +17,7 @@ package com.vaadin.tests.minitutorials.v7a1; import com.vaadin.Application; -import com.vaadin.server.UIProvider; +import com.vaadin.server.AbstractUIProvider; import com.vaadin.server.WebBrowser; import com.vaadin.server.WrappedRequest; import com.vaadin.ui.Label; @@ -36,7 +36,7 @@ public class DifferentFeaturesForDifferentClients extends Application { @Override public void init() { super.init(); - addUIProvider(new UIProvider() { + addUIProvider(new AbstractUIProvider() { @Override public Class getUIClass(Application application, WrappedRequest request) { -- cgit v1.2.3