diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-04 11:15:53 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-05 11:39:31 +0300 |
commit | aa913676e513170244169352dd97d6b583b50065 (patch) | |
tree | f1c0f70d0ca822261af860c285630e2401f0a4b8 /uitest/src/com/vaadin | |
parent | 65240f403416efc82fb5ff9efce682291d426e89 (diff) | |
download | vaadin-framework-aa913676e513170244169352dd97d6b583b50065.tar.gz vaadin-framework-aa913676e513170244169352dd97d6b583b50065.zip |
Move UI class info querying to UIProvider (#9402)
Diffstat (limited to 'uitest/src/com/vaadin')
3 files changed, 6 insertions, 6 deletions
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<? extends UI> 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<? extends UI> getUIClass(Application application, WrappedRequest request) { |