summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-07 13:47:51 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-07 13:48:25 +0300
commit7cf781eaf62f145d96a562c945232c32c74df263 (patch)
tree0584391263c86f657a8bf9065fd92d11c54030d5
parentcf99cbc9e1f556fa89f5b1ced39eaca3f119f733 (diff)
downloadvaadin-framework-7cf781eaf62f145d96a562c945232c32c74df263.tar.gz
vaadin-framework-7cf781eaf62f145d96a562c945232c32c74df263.zip
Rename Application back to LegacyApplication (#9402)
-rw-r--r--server/src/com/vaadin/LegacyApplication.java (renamed from server/src/com/vaadin/Application.java)2
-rw-r--r--server/src/com/vaadin/server/LegacyVaadinPortlet.java10
-rw-r--r--server/src/com/vaadin/server/LegacyVaadinServlet.java10
-rw-r--r--server/src/com/vaadin/server/ServletPortletHelper.java6
-rw-r--r--server/src/com/vaadin/ui/UI.java10
-rw-r--r--server/tests/src/com/vaadin/tests/server/component/window/AddRemoveSubWindow.java4
-rw-r--r--uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java10
-rw-r--r--uitest/src/com/vaadin/tests/Components.java4
-rw-r--r--uitest/src/com/vaadin/tests/CustomLayoutDemo.java2
-rw-r--r--uitest/src/com/vaadin/tests/LayoutDemo.java2
-rw-r--r--uitest/src/com/vaadin/tests/ListenerOrder.java2
-rw-r--r--uitest/src/com/vaadin/tests/ModalWindow.java2
-rw-r--r--uitest/src/com/vaadin/tests/NativeWindowing.java4
-rw-r--r--uitest/src/com/vaadin/tests/Parameters.java2
-rw-r--r--uitest/src/com/vaadin/tests/RandomLayoutStress.java2
-rw-r--r--uitest/src/com/vaadin/tests/ScrollbarStressTest.java4
-rw-r--r--uitest/src/com/vaadin/tests/TestBench.java6
-rw-r--r--uitest/src/com/vaadin/tests/TestForApplicationLayoutThatUsesWholeBrosersSpace.java4
-rw-r--r--uitest/src/com/vaadin/tests/TestForNativeWindowing.java4
-rw-r--r--uitest/src/com/vaadin/tests/TestForStyledUpload.java4
-rw-r--r--uitest/src/com/vaadin/tests/TestSetVisibleAndCaching.java2
-rw-r--r--uitest/src/com/vaadin/tests/TestSizeableIncomponents.java4
-rw-r--r--uitest/src/com/vaadin/tests/TestSplitPanel.java2
-rw-r--r--uitest/src/com/vaadin/tests/TreeFilesystem.java2
-rw-r--r--uitest/src/com/vaadin/tests/TreeFilesystemContainer.java2
-rw-r--r--uitest/src/com/vaadin/tests/UsingObjectsInSelect.java2
-rw-r--r--uitest/src/com/vaadin/tests/appengine/GAESyncTest.java8
-rw-r--r--uitest/src/com/vaadin/tests/components/AbstractTestCase.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/combobox/ComboBoxReapperingOldValue.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/loginform/LoginFormWithMultipleWindows.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/orderedlayout/LayoutRenderTimeTest.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/table/TableFirstRowFlicker.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java4
-rw-r--r--uitest/src/com/vaadin/tests/containers/sqlcontainer/CheckboxUpdateProblem.java4
-rw-r--r--uitest/src/com/vaadin/tests/containers/sqlcontainer/ComboBoxUpdateProblem.java4
-rw-r--r--uitest/src/com/vaadin/tests/containers/sqlcontainer/MassInsertMemoryLeakTestApp.java4
-rw-r--r--uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java4
-rw-r--r--uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java4
-rw-r--r--uitest/src/com/vaadin/tests/integration/LiferayThemeDemo.java4
-rw-r--r--uitest/src/com/vaadin/tests/integration/PortletSizeInLiferayFreeformLayoutApplication.java4
-rw-r--r--uitest/src/com/vaadin/tests/layouts/GridLayoutInsidePanel2.java4
-rw-r--r--uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java4
-rw-r--r--uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java4
-rw-r--r--uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java4
-rw-r--r--uitest/src/com/vaadin/tests/themes/ButtonsTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1225.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1230.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket124.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1245.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1365.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1368.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1397.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1435.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1444.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1465ModalNotification.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1519.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1572.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1581.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1589.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1598.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket161.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1632.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1659.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1663.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1673.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1710.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1737.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1767.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1772.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1775.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1804.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1805.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1806.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1811.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1819.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1834PanelScrolling.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1857.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1868.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1869.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1878.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1900.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1904.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1916.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1919.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1921.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1923.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1925.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1939.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1940.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1953.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1966.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1966_2.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1966_3.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1969.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1970.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1972.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1973.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1973_2.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1975.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1982.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1983.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1986.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1991.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1995.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket20.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2001.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2002.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2007.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2009.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2011.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2014.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2021.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2022.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2023.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2024.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2026.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2029.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2037.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2038.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2040.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2042.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2043.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2048.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2051.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2053.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2060.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2061.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2061b.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2061c.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2062.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2083.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2090.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2095.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2098.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2099.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2101.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2103.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2104.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2106.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2107.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2117.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2119.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2125.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2126.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2151.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2157.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2178.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2179.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2180.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2181.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2186.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2204.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2208.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2209.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2209OL.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2209OL2.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2215.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2221.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2222.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2227OrderedlayoutInTable.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2231.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2232.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2234.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2235.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2240.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2242.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2244.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2245.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2267.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2271.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2282.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2283.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2289.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2292.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2294.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2296.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2303.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2304.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2310.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2319.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2323.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2325.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2329.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2337.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2339.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2341.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2344.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2347.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2364.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2365.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2398.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2404.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2405.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2406.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2407.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2411.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2415.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2420.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2425.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2426.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2431.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2432.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2434.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2436.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2526.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2742.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2901.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2998.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket3146.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket34.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket5053.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket5157.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket5952.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket677.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket695.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket736.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket846.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket932.java4
219 files changed, 410 insertions, 410 deletions
diff --git a/server/src/com/vaadin/Application.java b/server/src/com/vaadin/LegacyApplication.java
index c439d30425..a1aeb037fd 100644
--- a/server/src/com/vaadin/Application.java
+++ b/server/src/com/vaadin/LegacyApplication.java
@@ -44,7 +44,7 @@ import com.vaadin.ui.UI;
* @since 7.0
*/
@Deprecated
-public abstract class Application extends AbstractUIProvider implements
+public abstract class LegacyApplication extends AbstractUIProvider implements
ErrorListener {
/**
* Ignore initial / and then get everything up to the next /
diff --git a/server/src/com/vaadin/server/LegacyVaadinPortlet.java b/server/src/com/vaadin/server/LegacyVaadinPortlet.java
index efc341f369..067ef888b1 100644
--- a/server/src/com/vaadin/server/LegacyVaadinPortlet.java
+++ b/server/src/com/vaadin/server/LegacyVaadinPortlet.java
@@ -19,12 +19,12 @@ package com.vaadin.server;
import javax.portlet.PortletException;
import javax.portlet.PortletRequest;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ServletPortletHelper.ApplicationClassException;
public class LegacyVaadinPortlet extends VaadinPortlet {
- protected Class<? extends Application> getApplicationClass()
+ protected Class<? extends LegacyApplication> getApplicationClass()
throws ClassNotFoundException {
try {
return ServletPortletHelper
@@ -34,10 +34,10 @@ public class LegacyVaadinPortlet extends VaadinPortlet {
}
}
- protected Application getNewApplication(PortletRequest request)
+ protected LegacyApplication getNewApplication(PortletRequest request)
throws PortletException {
try {
- Class<? extends Application> applicationClass = getApplicationClass();
+ Class<? extends LegacyApplication> applicationClass = getApplicationClass();
return applicationClass.newInstance();
} catch (Exception e) {
throw new PortletException(e);
@@ -54,7 +54,7 @@ public class LegacyVaadinPortlet extends VaadinPortlet {
// XXX Must update details here so they are available in init.
session.getBrowser().updateRequestDetails(request);
- Application legacyApplication = getNewApplication(request
+ LegacyApplication legacyApplication = getNewApplication(request
.getPortletRequest());
legacyApplication.doInit();
session.addUIProvider(legacyApplication);
diff --git a/server/src/com/vaadin/server/LegacyVaadinServlet.java b/server/src/com/vaadin/server/LegacyVaadinServlet.java
index 359f18905c..4cdb66db44 100644
--- a/server/src/com/vaadin/server/LegacyVaadinServlet.java
+++ b/server/src/com/vaadin/server/LegacyVaadinServlet.java
@@ -19,12 +19,12 @@ package com.vaadin.server;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ServletPortletHelper.ApplicationClassException;
public class LegacyVaadinServlet extends VaadinServlet {
- protected Class<? extends Application> getApplicationClass()
+ protected Class<? extends LegacyApplication> getApplicationClass()
throws ClassNotFoundException {
try {
return ServletPortletHelper
@@ -34,10 +34,10 @@ public class LegacyVaadinServlet extends VaadinServlet {
}
}
- protected Application getNewApplication(HttpServletRequest request)
+ protected LegacyApplication getNewApplication(HttpServletRequest request)
throws ServletException {
try {
- Class<? extends Application> applicationClass = getApplicationClass();
+ Class<? extends LegacyApplication> applicationClass = getApplicationClass();
return applicationClass.newInstance();
} catch (Exception e) {
throw new ServletException(e);
@@ -60,7 +60,7 @@ public class LegacyVaadinServlet extends VaadinServlet {
// XXX Must update details here so they are available in init.
session.getBrowser().updateRequestDetails(request);
- Application legacyApplication = getNewApplication(request);
+ LegacyApplication legacyApplication = getNewApplication(request);
legacyApplication.doInit();
session.addUIProvider(legacyApplication);
}
diff --git a/server/src/com/vaadin/server/ServletPortletHelper.java b/server/src/com/vaadin/server/ServletPortletHelper.java
index e7e4c813ce..7f4a05deef 100644
--- a/server/src/com/vaadin/server/ServletPortletHelper.java
+++ b/server/src/com/vaadin/server/ServletPortletHelper.java
@@ -3,7 +3,7 @@ package com.vaadin.server;
import java.io.Serializable;
import java.util.Properties;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ApplicationConstants;
import com.vaadin.ui.UI;
@@ -41,7 +41,7 @@ class ServletPortletHelper implements Serializable {
}
}
- static Class<? extends Application> getLegacyApplicationClass(
+ static Class<? extends LegacyApplication> getLegacyApplicationClass(
VaadinService vaadinService) throws ApplicationClassException {
Properties initParameters = vaadinService.getDeploymentConfiguration()
.getInitParameters();
@@ -55,7 +55,7 @@ class ServletPortletHelper implements Serializable {
try {
return classLoader.loadClass(applicationParameter).asSubclass(
- Application.class);
+ LegacyApplication.class);
} catch (final ClassNotFoundException e) {
throw new ApplicationClassException(
"Failed to load application class: " + applicationParameter,
diff --git a/server/src/com/vaadin/ui/UI.java b/server/src/com/vaadin/ui/UI.java
index 7ef51dfc3e..ef77142312 100644
--- a/server/src/com/vaadin/ui/UI.java
+++ b/server/src/com/vaadin/ui/UI.java
@@ -27,7 +27,7 @@ import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Map;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.event.Action;
import com.vaadin.event.Action.Handler;
import com.vaadin.event.ActionManager;
@@ -90,12 +90,12 @@ public abstract class UI extends AbstractComponentContainer implements
/**
* Helper class to emulate the main window from Vaadin 6 using UIs. This
* class should be used in the same way as Window used as a browser level
- * window in Vaadin 6 with {@link com.vaadin.Application}
+ * window in Vaadin 6 with {@link com.vaadin.LegacyApplication}
*/
@Deprecated
public static class LegacyWindow extends UI {
private String name;
- private Application application;
+ private LegacyApplication application;
/**
* Create a new legacy window
@@ -129,11 +129,11 @@ public abstract class UI extends AbstractComponentContainer implements
// Just empty
}
- public void setApplication(Application application) {
+ public void setApplication(LegacyApplication application) {
this.application = application;
}
- public Application getApplication() {
+ public LegacyApplication getApplication() {
return application;
}
diff --git a/server/tests/src/com/vaadin/tests/server/component/window/AddRemoveSubWindow.java b/server/tests/src/com/vaadin/tests/server/component/window/AddRemoveSubWindow.java
index 2e59f9ee41..9ee4ffe6e7 100644
--- a/server/tests/src/com/vaadin/tests/server/component/window/AddRemoveSubWindow.java
+++ b/server/tests/src/com/vaadin/tests/server/component/window/AddRemoveSubWindow.java
@@ -6,14 +6,14 @@ import static org.junit.Assert.assertTrue;
import org.junit.Test;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.UI;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
public class AddRemoveSubWindow {
- public class TestApp extends Application {
+ public class TestApp extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java b/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java
index df7c9c5db9..032957bffc 100644
--- a/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java
+++ b/uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java
@@ -29,7 +29,7 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.AbstractUIProvider;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.LegacyVaadinServlet;
@@ -105,16 +105,16 @@ public class ApplicationRunnerServlet extends LegacyVaadinServlet {
}
@Override
- protected Class<? extends Application> getApplicationClass()
+ protected Class<? extends LegacyApplication> getApplicationClass()
throws ClassNotFoundException {
- return getClassToRun().asSubclass(Application.class);
+ return getClassToRun().asSubclass(LegacyApplication.class);
}
@Override
protected boolean shouldCreateApplication(WrappedHttpServletRequest request)
throws ServletException {
try {
- return Application.class.isAssignableFrom(getClassToRun());
+ return LegacyApplication.class.isAssignableFrom(getClassToRun());
} catch (ClassNotFoundException e) {
throw new ServletException(e);
}
@@ -133,7 +133,7 @@ public class ApplicationRunnerServlet extends LegacyVaadinServlet {
return (Class<? extends UI>) classToRun;
}
});
- } else if (Application.class.isAssignableFrom(classToRun)) {
+ } else if (LegacyApplication.class.isAssignableFrom(classToRun)) {
// Avoid using own UIProvider for legacy Application
} else if (UIProvider.class.isAssignableFrom(classToRun)) {
session.addUIProvider((UIProvider) classToRun.newInstance());
diff --git a/uitest/src/com/vaadin/tests/Components.java b/uitest/src/com/vaadin/tests/Components.java
index b766ab27f3..8295528fc3 100644
--- a/uitest/src/com/vaadin/tests/Components.java
+++ b/uitest/src/com/vaadin/tests/Components.java
@@ -9,7 +9,7 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.util.DefaultItemSorter;
import com.vaadin.data.util.HierarchicalContainer;
@@ -30,7 +30,7 @@ import com.vaadin.ui.Tree.ItemStyleGenerator;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Components extends Application {
+public class Components extends LegacyApplication {
private static final Object CAPTION = "c";
private Map<Class<? extends AbstractComponentTest>, String> tests = new HashMap<Class<? extends AbstractComponentTest>, String>();
diff --git a/uitest/src/com/vaadin/tests/CustomLayoutDemo.java b/uitest/src/com/vaadin/tests/CustomLayoutDemo.java
index 8b44007949..73ac9c60c0 100644
--- a/uitest/src/com/vaadin/tests/CustomLayoutDemo.java
+++ b/uitest/src/com/vaadin/tests/CustomLayoutDemo.java
@@ -43,7 +43,7 @@ import com.vaadin.ui.UI.LegacyWindow;
* @since 4.0.0
*
*/
-public class CustomLayoutDemo extends com.vaadin.Application implements
+public class CustomLayoutDemo extends com.vaadin.LegacyApplication implements
Listener {
private CustomLayout mainLayout = null;
diff --git a/uitest/src/com/vaadin/tests/LayoutDemo.java b/uitest/src/com/vaadin/tests/LayoutDemo.java
index b20e0b9bc8..275ccf4d5d 100644
--- a/uitest/src/com/vaadin/tests/LayoutDemo.java
+++ b/uitest/src/com/vaadin/tests/LayoutDemo.java
@@ -37,7 +37,7 @@ import com.vaadin.ui.VerticalLayout;
* @since 4.0.0
*
*/
-public class LayoutDemo extends com.vaadin.Application {
+public class LayoutDemo extends com.vaadin.LegacyApplication {
/**
* Initialize Application. Demo components are added to main window.
diff --git a/uitest/src/com/vaadin/tests/ListenerOrder.java b/uitest/src/com/vaadin/tests/ListenerOrder.java
index 0806bbcc55..1fb195c88a 100644
--- a/uitest/src/com/vaadin/tests/ListenerOrder.java
+++ b/uitest/src/com/vaadin/tests/ListenerOrder.java
@@ -16,7 +16,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.Select;
import com.vaadin.ui.UI.LegacyWindow;
-public class ListenerOrder extends com.vaadin.Application implements
+public class ListenerOrder extends com.vaadin.LegacyApplication implements
Button.ClickListener, PropertySetChangeListener, ItemSetChangeListener,
ValueChangeListener {
diff --git a/uitest/src/com/vaadin/tests/ModalWindow.java b/uitest/src/com/vaadin/tests/ModalWindow.java
index 36bb384ab1..8c7a0f1e03 100644
--- a/uitest/src/com/vaadin/tests/ModalWindow.java
+++ b/uitest/src/com/vaadin/tests/ModalWindow.java
@@ -34,7 +34,7 @@ import com.vaadin.ui.Window;
* @see com.vaadin.ui.Window
* @see com.vaadin.ui.Label
*/
-public class ModalWindow extends com.vaadin.Application implements
+public class ModalWindow extends com.vaadin.LegacyApplication implements
ClickListener {
private Window test;
diff --git a/uitest/src/com/vaadin/tests/NativeWindowing.java b/uitest/src/com/vaadin/tests/NativeWindowing.java
index c6a68c840b..63084301e7 100644
--- a/uitest/src/com/vaadin/tests/NativeWindowing.java
+++ b/uitest/src/com/vaadin/tests/NativeWindowing.java
@@ -19,7 +19,7 @@ package com.vaadin.tests;
import java.net.MalformedURLException;
import java.net.URL;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -27,7 +27,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class NativeWindowing extends Application {
+public class NativeWindowing extends LegacyApplication {
LegacyWindow main = new LegacyWindow("Windowing test");
diff --git a/uitest/src/com/vaadin/tests/Parameters.java b/uitest/src/com/vaadin/tests/Parameters.java
index 056427d685..fe5f5e14ae 100644
--- a/uitest/src/com/vaadin/tests/Parameters.java
+++ b/uitest/src/com/vaadin/tests/Parameters.java
@@ -41,7 +41,7 @@ import com.vaadin.ui.VerticalLayout;
*
* @since 3.1.1
*/
-public class Parameters extends com.vaadin.Application implements
+public class Parameters extends com.vaadin.LegacyApplication implements
RequestHandler {
private final Label context = new Label();
diff --git a/uitest/src/com/vaadin/tests/RandomLayoutStress.java b/uitest/src/com/vaadin/tests/RandomLayoutStress.java
index f6a3598bde..cda69a0707 100644
--- a/uitest/src/com/vaadin/tests/RandomLayoutStress.java
+++ b/uitest/src/com/vaadin/tests/RandomLayoutStress.java
@@ -42,7 +42,7 @@ import com.vaadin.ui.VerticalLayout;
* @author Vaadin Ltd.
*
*/
-public class RandomLayoutStress extends com.vaadin.Application {
+public class RandomLayoutStress extends com.vaadin.LegacyApplication {
private final Random seededRandom = new Random(1);
diff --git a/uitest/src/com/vaadin/tests/ScrollbarStressTest.java b/uitest/src/com/vaadin/tests/ScrollbarStressTest.java
index 5436166a14..29cf4d06a6 100644
--- a/uitest/src/com/vaadin/tests/ScrollbarStressTest.java
+++ b/uitest/src/com/vaadin/tests/ScrollbarStressTest.java
@@ -1,6 +1,6 @@
package com.vaadin.tests;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Accordion;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -17,7 +17,7 @@ import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.VerticalSplitPanel;
import com.vaadin.ui.Window;
-public class ScrollbarStressTest extends Application {
+public class ScrollbarStressTest extends LegacyApplication {
final LegacyWindow main = new LegacyWindow("Scrollbar Stress Test");
diff --git a/uitest/src/com/vaadin/tests/TestBench.java b/uitest/src/com/vaadin/tests/TestBench.java
index 14f78ffa48..c886fc2c40 100644
--- a/uitest/src/com/vaadin/tests/TestBench.java
+++ b/uitest/src/com/vaadin/tests/TestBench.java
@@ -24,7 +24,7 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.util.HierarchicalContainer;
import com.vaadin.server.ExternalResource;
@@ -51,7 +51,7 @@ import com.vaadin.ui.VerticalLayout;
* @author Vaadin Ltd.
*
*/
-public class TestBench extends com.vaadin.Application implements
+public class TestBench extends com.vaadin.LegacyApplication implements
Property.ValueChangeListener {
// Add here packages which are used for finding testable classes
@@ -223,7 +223,7 @@ public class TestBench extends com.vaadin.Application implements
private Component createTestable(Class<?> c) {
try {
- final Application app = (Application) c.newInstance();
+ final LegacyApplication app = (LegacyApplication) c.newInstance();
app.doInit();
Layout lo = (Layout) app.getMainWindow().getContent();
lo.setParent(null);
diff --git a/uitest/src/com/vaadin/tests/TestForApplicationLayoutThatUsesWholeBrosersSpace.java b/uitest/src/com/vaadin/tests/TestForApplicationLayoutThatUsesWholeBrosersSpace.java
index c3d019231e..35dfa89338 100644
--- a/uitest/src/com/vaadin/tests/TestForApplicationLayoutThatUsesWholeBrosersSpace.java
+++ b/uitest/src/com/vaadin/tests/TestForApplicationLayoutThatUsesWholeBrosersSpace.java
@@ -16,7 +16,7 @@
package com.vaadin.tests;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.HorizontalSplitPanel;
import com.vaadin.ui.Label;
import com.vaadin.ui.Table;
@@ -25,7 +25,7 @@ import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.VerticalSplitPanel;
public class TestForApplicationLayoutThatUsesWholeBrosersSpace extends
- Application {
+ LegacyApplication {
LegacyWindow main = new LegacyWindow("Windowing test");
diff --git a/uitest/src/com/vaadin/tests/TestForNativeWindowing.java b/uitest/src/com/vaadin/tests/TestForNativeWindowing.java
index 505b1801db..01bc0e0152 100644
--- a/uitest/src/com/vaadin/tests/TestForNativeWindowing.java
+++ b/uitest/src/com/vaadin/tests/TestForNativeWindowing.java
@@ -19,7 +19,7 @@ package com.vaadin.tests;
import java.net.MalformedURLException;
import java.net.URL;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -27,7 +27,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class TestForNativeWindowing extends Application {
+public class TestForNativeWindowing extends LegacyApplication {
LegacyWindow main = new LegacyWindow("Windowing test");
diff --git a/uitest/src/com/vaadin/tests/TestForStyledUpload.java b/uitest/src/com/vaadin/tests/TestForStyledUpload.java
index f1ced4e1f0..aac2d933e1 100644
--- a/uitest/src/com/vaadin/tests/TestForStyledUpload.java
+++ b/uitest/src/com/vaadin/tests/TestForStyledUpload.java
@@ -26,7 +26,7 @@ import java.io.OutputStream;
import java.lang.management.ManagementFactory;
import java.lang.management.MemoryMXBean;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.StreamResource;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Button;
@@ -48,7 +48,7 @@ import com.vaadin.ui.Upload.SucceededEvent;
import com.vaadin.ui.Upload.SucceededListener;
import com.vaadin.ui.VerticalLayout;
-public class TestForStyledUpload extends Application implements
+public class TestForStyledUpload extends LegacyApplication implements
Upload.FinishedListener, FailedListener, SucceededListener,
StartedListener {
diff --git a/uitest/src/com/vaadin/tests/TestSetVisibleAndCaching.java b/uitest/src/com/vaadin/tests/TestSetVisibleAndCaching.java
index facfe43596..e7bb9a64b4 100644
--- a/uitest/src/com/vaadin/tests/TestSetVisibleAndCaching.java
+++ b/uitest/src/com/vaadin/tests/TestSetVisibleAndCaching.java
@@ -23,7 +23,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class TestSetVisibleAndCaching extends com.vaadin.Application {
+public class TestSetVisibleAndCaching extends com.vaadin.LegacyApplication {
Panel panelA = new Panel("Panel A");
Panel panelB = new Panel("Panel B");
diff --git a/uitest/src/com/vaadin/tests/TestSizeableIncomponents.java b/uitest/src/com/vaadin/tests/TestSizeableIncomponents.java
index e7cd25e87c..cc7ba23405 100644
--- a/uitest/src/com/vaadin/tests/TestSizeableIncomponents.java
+++ b/uitest/src/com/vaadin/tests/TestSizeableIncomponents.java
@@ -21,7 +21,7 @@ import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.util.IndexedContainer;
@@ -41,7 +41,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class TestSizeableIncomponents extends Application {
+public class TestSizeableIncomponents extends LegacyApplication {
private IndexedContainer cont;
private ComboBox select;
diff --git a/uitest/src/com/vaadin/tests/TestSplitPanel.java b/uitest/src/com/vaadin/tests/TestSplitPanel.java
index 6b738492e4..cb03e50a2f 100644
--- a/uitest/src/com/vaadin/tests/TestSplitPanel.java
+++ b/uitest/src/com/vaadin/tests/TestSplitPanel.java
@@ -20,7 +20,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalSplitPanel;
-public class TestSplitPanel extends com.vaadin.Application {
+public class TestSplitPanel extends com.vaadin.LegacyApplication {
VerticalSplitPanel verticalSplit = new VerticalSplitPanel();
diff --git a/uitest/src/com/vaadin/tests/TreeFilesystem.java b/uitest/src/com/vaadin/tests/TreeFilesystem.java
index 3489ee0953..4183f8a243 100644
--- a/uitest/src/com/vaadin/tests/TreeFilesystem.java
+++ b/uitest/src/com/vaadin/tests/TreeFilesystem.java
@@ -37,7 +37,7 @@ import com.vaadin.ui.UI.LegacyWindow;
* @since 4.0.0
*
*/
-public class TreeFilesystem extends com.vaadin.Application implements
+public class TreeFilesystem extends com.vaadin.LegacyApplication implements
Tree.ExpandListener {
// Filesystem explorer panel and it's components
diff --git a/uitest/src/com/vaadin/tests/TreeFilesystemContainer.java b/uitest/src/com/vaadin/tests/TreeFilesystemContainer.java
index 2b3133c748..deeb22cb5b 100644
--- a/uitest/src/com/vaadin/tests/TreeFilesystemContainer.java
+++ b/uitest/src/com/vaadin/tests/TreeFilesystemContainer.java
@@ -41,7 +41,7 @@ import com.vaadin.ui.VerticalLayout;
* @since 4.0.0
*
*/
-public class TreeFilesystemContainer extends com.vaadin.Application implements
+public class TreeFilesystemContainer extends com.vaadin.LegacyApplication implements
Listener {
// Filesystem explorer panel and it's components
diff --git a/uitest/src/com/vaadin/tests/UsingObjectsInSelect.java b/uitest/src/com/vaadin/tests/UsingObjectsInSelect.java
index 54153448f1..1307e6eab8 100644
--- a/uitest/src/com/vaadin/tests/UsingObjectsInSelect.java
+++ b/uitest/src/com/vaadin/tests/UsingObjectsInSelect.java
@@ -27,7 +27,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.Select;
import com.vaadin.ui.UI.LegacyWindow;
-public class UsingObjectsInSelect extends com.vaadin.Application implements
+public class UsingObjectsInSelect extends com.vaadin.LegacyApplication implements
ValueChangeListener {
private final Select select = new Select();
diff --git a/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java b/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java
index c819f4ebea..19b872cb2f 100644
--- a/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java
+++ b/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java
@@ -1,7 +1,7 @@
package com.vaadin.tests.appengine;
import com.google.apphosting.api.DeadlineExceededException;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.server.ClassResource;
@@ -15,7 +15,7 @@ import com.vaadin.ui.Notification;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class GAESyncTest extends Application {
+public class GAESyncTest extends LegacyApplication {
/**
*
@@ -50,10 +50,10 @@ public class GAESyncTest extends Application {
private static final long serialVersionUID = -6521351715072191625l;
TextField tf;
Label l;
- Application app;
+ LegacyApplication app;
GridLayout gl;
- private IntrWindow(Application app) {
+ private IntrWindow(LegacyApplication app) {
this.app = app;
tf = new TextField("Echo thingie");
diff --git a/uitest/src/com/vaadin/tests/components/AbstractTestCase.java b/uitest/src/com/vaadin/tests/components/AbstractTestCase.java
index 7556976d00..356b130433 100644
--- a/uitest/src/com/vaadin/tests/components/AbstractTestCase.java
+++ b/uitest/src/com/vaadin/tests/components/AbstractTestCase.java
@@ -1,10 +1,10 @@
package com.vaadin.tests.components;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.VaadinSession;
import com.vaadin.server.WebBrowser;
-public abstract class AbstractTestCase extends Application {
+public abstract class AbstractTestCase extends LegacyApplication {
protected abstract String getDescription();
diff --git a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxReapperingOldValue.java b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxReapperingOldValue.java
index 62286a3998..1ae16db2cb 100644
--- a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxReapperingOldValue.java
+++ b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxReapperingOldValue.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.components.combobox;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
@@ -12,7 +12,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
@SuppressWarnings("serial")
-public class ComboBoxReapperingOldValue extends Application implements
+public class ComboBoxReapperingOldValue extends LegacyApplication implements
ValueChangeListener {
ComboBox cbox1 = new ComboBox();
diff --git a/uitest/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java b/uitest/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java
index 58be87d3dd..3aacb9e199 100644
--- a/uitest/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java
+++ b/uitest/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.components.form;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Button;
import com.vaadin.ui.Form;
@@ -9,7 +9,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
@SuppressWarnings("serial")
-public class UndefinedWideFormWithRelativeWideFooter extends Application {
+public class UndefinedWideFormWithRelativeWideFooter extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/components/loginform/LoginFormWithMultipleWindows.java b/uitest/src/com/vaadin/tests/components/loginform/LoginFormWithMultipleWindows.java
index 6de14e949b..e469d13e07 100644
--- a/uitest/src/com/vaadin/tests/components/loginform/LoginFormWithMultipleWindows.java
+++ b/uitest/src/com/vaadin/tests/components/loginform/LoginFormWithMultipleWindows.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.components.loginform;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.LoginForm;
import com.vaadin.ui.LoginForm.LoginEvent;
import com.vaadin.ui.LoginForm.LoginListener;
import com.vaadin.ui.UI.LegacyWindow;
@SuppressWarnings("serial")
-public class LoginFormWithMultipleWindows extends Application {
+public class LoginFormWithMultipleWindows extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/components/orderedlayout/LayoutRenderTimeTest.java b/uitest/src/com/vaadin/tests/components/orderedlayout/LayoutRenderTimeTest.java
index 32840b6412..0f4140e903 100644
--- a/uitest/src/com/vaadin/tests/components/orderedlayout/LayoutRenderTimeTest.java
+++ b/uitest/src/com/vaadin/tests/components/orderedlayout/LayoutRenderTimeTest.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.components.orderedlayout;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ThemeResource;
import com.vaadin.ui.Button;
import com.vaadin.ui.Embedded;
@@ -10,7 +10,7 @@ import com.vaadin.ui.UI;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.Reindeer;
-public class LayoutRenderTimeTest extends Application {
+public class LayoutRenderTimeTest extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/components/table/TableFirstRowFlicker.java b/uitest/src/com/vaadin/tests/components/table/TableFirstRowFlicker.java
index 27905b5cf9..5d36b8381b 100644
--- a/uitest/src/com/vaadin/tests/components/table/TableFirstRowFlicker.java
+++ b/uitest/src/com/vaadin/tests/components/table/TableFirstRowFlicker.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.components.table;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container;
import com.vaadin.data.util.IndexedContainer;
import com.vaadin.ui.Label;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class TableFirstRowFlicker extends Application {
+public class TableFirstRowFlicker extends LegacyApplication {
Table t;
diff --git a/uitest/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java b/uitest/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java
index c32854f6f1..0662e23239 100644
--- a/uitest/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java
+++ b/uitest/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.components.textfield;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Component;
import com.vaadin.ui.Panel;
import com.vaadin.ui.Table;
@@ -8,7 +8,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class TextFieldInLayoutInTable extends Application {
+public class TextFieldInLayoutInTable extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/containers/sqlcontainer/CheckboxUpdateProblem.java b/uitest/src/com/vaadin/tests/containers/sqlcontainer/CheckboxUpdateProblem.java
index 349be5991c..a93b4fe311 100644
--- a/uitest/src/com/vaadin/tests/containers/sqlcontainer/CheckboxUpdateProblem.java
+++ b/uitest/src/com/vaadin/tests/containers/sqlcontainer/CheckboxUpdateProblem.java
@@ -2,7 +2,7 @@ package com.vaadin.tests.containers.sqlcontainer;
import java.sql.SQLException;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container.ItemSetChangeEvent;
import com.vaadin.data.Container.ItemSetChangeListener;
import com.vaadin.data.Item;
@@ -15,7 +15,7 @@ import com.vaadin.ui.HorizontalSplitPanel;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class CheckboxUpdateProblem extends Application implements
+public class CheckboxUpdateProblem extends LegacyApplication implements
Property.ValueChangeListener {
private final DatabaseHelper databaseHelper = new DatabaseHelper();
private Table testList;
diff --git a/uitest/src/com/vaadin/tests/containers/sqlcontainer/ComboBoxUpdateProblem.java b/uitest/src/com/vaadin/tests/containers/sqlcontainer/ComboBoxUpdateProblem.java
index e33607b4f7..edaefeb0c3 100644
--- a/uitest/src/com/vaadin/tests/containers/sqlcontainer/ComboBoxUpdateProblem.java
+++ b/uitest/src/com/vaadin/tests/containers/sqlcontainer/ComboBoxUpdateProblem.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.containers.sqlcontainer;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractSelect.Filtering;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.UI;
@@ -8,7 +8,7 @@ import com.vaadin.ui.UI;
/**
* See http://dev.vaadin.com/ticket/9155 .
*/
-public class ComboBoxUpdateProblem extends Application {
+public class ComboBoxUpdateProblem extends LegacyApplication {
private final DatabaseHelper databaseHelper = new DatabaseHelper();
@Override
diff --git a/uitest/src/com/vaadin/tests/containers/sqlcontainer/MassInsertMemoryLeakTestApp.java b/uitest/src/com/vaadin/tests/containers/sqlcontainer/MassInsertMemoryLeakTestApp.java
index 1546f51a33..3a07a89302 100644
--- a/uitest/src/com/vaadin/tests/containers/sqlcontainer/MassInsertMemoryLeakTestApp.java
+++ b/uitest/src/com/vaadin/tests/containers/sqlcontainer/MassInsertMemoryLeakTestApp.java
@@ -2,7 +2,7 @@ package com.vaadin.tests.containers.sqlcontainer;
import java.sql.SQLException;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.sqlcontainer.SQLContainer;
import com.vaadin.data.util.sqlcontainer.connection.JDBCConnectionPool;
import com.vaadin.data.util.sqlcontainer.connection.SimpleJDBCConnectionPool;
@@ -25,7 +25,7 @@ import com.vaadin.ui.VerticalLayout;
// +-------------+-------------+------+-----+---------+----------------+
@SuppressWarnings("serial")
-public class MassInsertMemoryLeakTestApp extends Application {
+public class MassInsertMemoryLeakTestApp extends LegacyApplication {
ProgressIndicator proggress = new ProgressIndicator();
Button process = new Button("Mass insert");
diff --git a/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java b/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java
index d3c85cbde5..03af8bbd52 100644
--- a/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java
+++ b/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.integration;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class IntegrationTestApplication extends Application {
+public class IntegrationTestApplication extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java b/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java
index db8307b635..f3c7f009c8 100644
--- a/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java
+++ b/uitest/src/com/vaadin/tests/integration/JSR286PortletApplication.java
@@ -18,7 +18,7 @@ import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse;
import javax.portlet.WindowState;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.annotations.StyleSheet;
import com.vaadin.server.ExternalResource;
import com.vaadin.server.VaadinPortletSession;
@@ -37,7 +37,7 @@ import com.vaadin.ui.Upload.Receiver;
/**
* Adapted from old PortletDemo to support integration testing.
*/
-public class JSR286PortletApplication extends Application {
+public class JSR286PortletApplication extends LegacyApplication {
@StyleSheet("PortletConnectorResource.css")
public final class LegacyWindowWithStylesheet extends LegacyWindow {
diff --git a/uitest/src/com/vaadin/tests/integration/LiferayThemeDemo.java b/uitest/src/com/vaadin/tests/integration/LiferayThemeDemo.java
index a9e3b5fa44..df36ca4e58 100644
--- a/uitest/src/com/vaadin/tests/integration/LiferayThemeDemo.java
+++ b/uitest/src/com/vaadin/tests/integration/LiferayThemeDemo.java
@@ -4,7 +4,7 @@ import java.util.Date;
import java.util.Iterator;
import java.util.Locale;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.event.Action;
@@ -57,7 +57,7 @@ import com.vaadin.ui.Window;
import com.vaadin.ui.themes.LiferayTheme;
@SuppressWarnings("serial")
-public class LiferayThemeDemo extends Application {
+public class LiferayThemeDemo extends LegacyApplication {
@SuppressWarnings("deprecation")
private static final Date DATE = new Date(2009 - 1900, 6 - 1, 2);
diff --git a/uitest/src/com/vaadin/tests/integration/PortletSizeInLiferayFreeformLayoutApplication.java b/uitest/src/com/vaadin/tests/integration/PortletSizeInLiferayFreeformLayoutApplication.java
index 8ec3373065..af51560593 100644
--- a/uitest/src/com/vaadin/tests/integration/PortletSizeInLiferayFreeformLayoutApplication.java
+++ b/uitest/src/com/vaadin/tests/integration/PortletSizeInLiferayFreeformLayoutApplication.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.integration;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
@@ -11,7 +11,7 @@ import com.vaadin.ui.VerticalLayout;
*
* See ticket #5521.
*/
-public class PortletSizeInLiferayFreeformLayoutApplication extends Application {
+public class PortletSizeInLiferayFreeformLayoutApplication extends LegacyApplication {
@Override
public void init() {
LegacyWindow mainWindow = new LegacyWindow("Portlet5521 Application");
diff --git a/uitest/src/com/vaadin/tests/layouts/GridLayoutInsidePanel2.java b/uitest/src/com/vaadin/tests/layouts/GridLayoutInsidePanel2.java
index 66248d7a5b..df34dc2f66 100644
--- a/uitest/src/com/vaadin/tests/layouts/GridLayoutInsidePanel2.java
+++ b/uitest/src/com/vaadin/tests/layouts/GridLayoutInsidePanel2.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.layouts;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.Layout;
import com.vaadin.ui.UI.LegacyWindow;
-public class GridLayoutInsidePanel2 extends Application {
+public class GridLayoutInsidePanel2 extends LegacyApplication {
private Layout layout;
diff --git a/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java b/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
index 8da94feb7f..ddf79989f1 100644
--- a/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
+++ b/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
@@ -2,7 +2,7 @@ package com.vaadin.tests.layouts.layouttester;
import java.util.Date;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.Resource;
import com.vaadin.server.SystemError;
import com.vaadin.server.ThemeResource;
@@ -32,7 +32,7 @@ public class GridLayoutTests extends AbstractLayoutTests {
private AbstractComponent rc1, col1, col2, col3, row1, row2, row3, x3, x22;
- public GridLayoutTests(Application application) {
+ public GridLayoutTests(LegacyApplication application) {
super();
}
diff --git a/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java b/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java
index 2362653ce1..eb9b0f1dcf 100644
--- a/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java
+++ b/uitest/src/com/vaadin/tests/layouts/layouttester/HorizontalLayoutTests.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.layouts.layouttester;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.Resource;
import com.vaadin.server.SystemError;
import com.vaadin.server.ThemeResource;
@@ -26,7 +26,7 @@ import com.vaadin.ui.themes.Reindeer;
public class HorizontalLayoutTests extends AbstractLayoutTests {
- public HorizontalLayoutTests(Application application) {
+ public HorizontalLayoutTests(LegacyApplication application) {
super();
}
diff --git a/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java b/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java
index 62dc85e8ad..73af3e4a5e 100644
--- a/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java
+++ b/uitest/src/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.layouts.layouttester;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.Resource;
import com.vaadin.server.SystemError;
import com.vaadin.server.ThemeResource;
@@ -26,7 +26,7 @@ import com.vaadin.ui.VerticalLayout;
public class VerticalLayoutTests extends AbstractLayoutTests {
- public VerticalLayoutTests(Application application) {
+ public VerticalLayoutTests(LegacyApplication application) {
super();
}
diff --git a/uitest/src/com/vaadin/tests/themes/ButtonsTest.java b/uitest/src/com/vaadin/tests/themes/ButtonsTest.java
index 950fc4b7c2..443a5dacf8 100644
--- a/uitest/src/com/vaadin/tests/themes/ButtonsTest.java
+++ b/uitest/src/com/vaadin/tests/themes/ButtonsTest.java
@@ -14,7 +14,7 @@ import com.vaadin.ui.UI;
import com.vaadin.ui.UI.LegacyWindow;
@SuppressWarnings("serial")
-public class ButtonsTest extends com.vaadin.Application {
+public class ButtonsTest extends com.vaadin.LegacyApplication {
final UI.LegacyWindow main = new LegacyWindow("Button states & themes");
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1225.java b/uitest/src/com/vaadin/tests/tickets/Ticket1225.java
index 28b2728021..1e8b4bfea8 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1225.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1225.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.tests.TestForTablesInitialColumnWidthLogicRendering;
import com.vaadin.ui.Alignment;
@@ -16,7 +16,7 @@ import com.vaadin.ui.VerticalSplitPanel;
* properly. Scrollbars will disappear if "shaking" content a bit, like
* selecting tests in area.
*/
-public class Ticket1225 extends Application {
+public class Ticket1225 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1230.java b/uitest/src/com/vaadin/tests/tickets/Ticket1230.java
index 145354ed6c..a988fe3822 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1230.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1230.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -9,7 +9,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Select;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1230 extends Application {
+public class Ticket1230 extends LegacyApplication {
private static final Object PROPERTY_ID = new Object();
private static final Object NULL_ITEM_ID = new Object();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket124.java b/uitest/src/com/vaadin/tests/tickets/Ticket124.java
index 659ac40690..42c50c6d7e 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket124.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket124.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket124 extends Application {
+public class Ticket124 extends LegacyApplication {
private TextField tf;
private GridLayout gl;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1245.java b/uitest/src/com/vaadin/tests/tickets/Ticket1245.java
index 6e5b693196..eba9514241 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1245.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1245.java
@@ -11,7 +11,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.Reindeer;
-public class Ticket1245 extends com.vaadin.Application {
+public class Ticket1245 extends com.vaadin.LegacyApplication {
TextField f = new TextField();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1365.java b/uitest/src/com/vaadin/tests/tickets/Ticket1365.java
index f9572ece07..d269c9184f 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1365.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1365.java
@@ -7,7 +7,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1365 extends com.vaadin.Application implements Handler {
+public class Ticket1365 extends com.vaadin.LegacyApplication implements Handler {
TextField f = new TextField();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1368.java b/uitest/src/com/vaadin/tests/tickets/Ticket1368.java
index 39ffd573cd..1caa275e10 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1368.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1368.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.tests.TestForTablesInitialColumnWidthLogicRendering;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.Table;
@@ -8,7 +8,7 @@ import com.vaadin.ui.UI.LegacyWindow;
/**
*/
-public class Ticket1368 extends Application {
+public class Ticket1368 extends LegacyApplication {
private Table t;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1397.java b/uitest/src/com/vaadin/tests/tickets/Ticket1397.java
index 271fc93b38..a29525556c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1397.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1397.java
@@ -2,7 +2,7 @@ package com.vaadin.tests.tickets;
import java.util.Date;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.ObjectProperty;
import com.vaadin.ui.Button;
import com.vaadin.ui.Component;
@@ -14,7 +14,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1397 extends Application {
+public class Ticket1397 extends LegacyApplication {
LegacyWindow main;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1435.java b/uitest/src/com/vaadin/tests/tickets/Ticket1435.java
index fb2ab4e767..9ac0c122f3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1435.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1435.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -16,7 +16,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1435 extends Application {
+public class Ticket1435 extends LegacyApplication {
private static final boolean useWorkaround = true;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1444.java b/uitest/src/com/vaadin/tests/tickets/Ticket1444.java
index 4ca82deafb..e2632f3bb6 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1444.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1444.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1444 extends Application {
+public class Ticket1444 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1465ModalNotification.java b/uitest/src/com/vaadin/tests/tickets/Ticket1465ModalNotification.java
index c13b6968ed..e57eb0962a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1465ModalNotification.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1465ModalNotification.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Label;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Notification;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class Ticket1465ModalNotification extends Application {
+public class Ticket1465ModalNotification extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1519.java b/uitest/src/com/vaadin/tests/tickets/Ticket1519.java
index de77031e91..58dd3653a2 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1519.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1519.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1519 extends Application {
+public class Ticket1519 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1572.java b/uitest/src/com/vaadin/tests/tickets/Ticket1572.java
index 65e783ba46..c4eeefe049 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1572.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1572.java
@@ -9,7 +9,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1572 extends com.vaadin.Application {
+public class Ticket1572 extends com.vaadin.LegacyApplication {
private Label state;
private GridLayout gl;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1581.java b/uitest/src/com/vaadin/tests/tickets/Ticket1581.java
index e4b4488b46..5f278a44f5 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1581.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1581.java
@@ -9,7 +9,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.ProgressIndicator;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1581 extends com.vaadin.Application {
+public class Ticket1581 extends com.vaadin.LegacyApplication {
private Label time;
private ProgressIndicator poller;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1589.java b/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
index 327b5b57d0..4c6073c7ed 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
@@ -10,7 +10,7 @@ import java.util.Date;
import javax.imageio.ImageIO;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.DownloadStream;
import com.vaadin.server.ExternalResource;
import com.vaadin.server.RequestHandler;
@@ -20,7 +20,7 @@ import com.vaadin.server.WrappedResponse;
import com.vaadin.ui.Link;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1589 extends Application {
+public class Ticket1589 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1598.java b/uitest/src/com/vaadin/tests/tickets/Ticket1598.java
index e1f04cbf8e..cbb1f88043 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1598.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1598.java
@@ -3,14 +3,14 @@ package com.vaadin.tests.tickets;
import java.util.ArrayList;
import java.util.List;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ThemeResource;
import com.vaadin.ui.MenuBar;
import com.vaadin.ui.MenuBar.Command;
import com.vaadin.ui.MenuBar.MenuItem;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1598 extends Application {
+public class Ticket1598 extends LegacyApplication {
LegacyWindow main = new LegacyWindow("MenuBar test");
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket161.java b/uitest/src/com/vaadin/tests/tickets/Ticket161.java
index 078a9c74b6..2e00bd3ff0 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket161.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket161.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container;
import com.vaadin.tests.TestForTablesInitialColumnWidthLogicRendering;
import com.vaadin.ui.Button;
@@ -10,7 +10,7 @@ import com.vaadin.ui.UI.LegacyWindow;
/**
*/
-public class Ticket161 extends Application {
+public class Ticket161 extends LegacyApplication {
private Table t;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1632.java b/uitest/src/com/vaadin/tests/tickets/Ticket1632.java
index 80bd99284b..bb0aaea607 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1632.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1632.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -9,7 +9,7 @@ import com.vaadin.ui.UI.LegacyWindow;
/**
*/
-public class Ticket1632 extends Application {
+public class Ticket1632 extends LegacyApplication {
private Table t;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1659.java b/uitest/src/com/vaadin/tests/tickets/Ticket1659.java
index cd96ac56c7..a587aa5a94 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1659.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1659.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ExternalResource;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1659 extends Application {
+public class Ticket1659 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1663.java b/uitest/src/com/vaadin/tests/tickets/Ticket1663.java
index e320826035..024ae3acb5 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1663.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1663.java
@@ -4,7 +4,7 @@ import com.vaadin.server.SystemError;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1663 extends com.vaadin.Application {
+public class Ticket1663 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1673.java b/uitest/src/com/vaadin/tests/tickets/Ticket1673.java
index c65dee9ff6..eb739ebafb 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1673.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1673.java
@@ -6,7 +6,7 @@ import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1673 extends com.vaadin.Application {
+public class Ticket1673 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1710.java b/uitest/src/com/vaadin/tests/tickets/Ticket1710.java
index b8794eb6c7..e53dcf3b84 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1710.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1710.java
@@ -28,7 +28,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1710 extends com.vaadin.Application {
+public class Ticket1710 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1737.java b/uitest/src/com/vaadin/tests/tickets/Ticket1737.java
index 8bb244545a..4384215943 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1737.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1737.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ClassResource;
import com.vaadin.server.DownloadStream;
import com.vaadin.server.Resource;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1737 extends Application {
+public class Ticket1737 extends LegacyApplication {
Resource slowRes = new ClassResource(Ticket1737.class, "m-bullet-blue.gif") {
@Override
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1767.java b/uitest/src/com/vaadin/tests/tickets/Ticket1767.java
index b3179ca7ce..f3925122e5 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1767.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1767.java
@@ -3,7 +3,7 @@ package com.vaadin.tests.tickets;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1767 extends com.vaadin.Application {
+public class Ticket1767 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1772.java b/uitest/src/com/vaadin/tests/tickets/Ticket1772.java
index c8c160adb2..5307963596 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1772.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1772.java
@@ -6,7 +6,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1772 extends com.vaadin.Application {
+public class Ticket1772 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1775.java b/uitest/src/com/vaadin/tests/tickets/Ticket1775.java
index eb67175590..3524ad8c54 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1775.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1775.java
@@ -6,7 +6,7 @@ import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1775 extends com.vaadin.Application {
+public class Ticket1775 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1804.java b/uitest/src/com/vaadin/tests/tickets/Ticket1804.java
index a01d0ab56d..f9ab7eabba 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1804.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1804.java
@@ -15,7 +15,7 @@ import com.vaadin.ui.Select;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class Ticket1804 extends com.vaadin.Application {
+public class Ticket1804 extends com.vaadin.LegacyApplication {
LinkedList<Select> listOfAllFields = new LinkedList<Select>();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1805.java b/uitest/src/com/vaadin/tests/tickets/Ticket1805.java
index b5c4a21461..7c053cad12 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1805.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1805.java
@@ -10,7 +10,7 @@ import com.vaadin.ui.Layout.MarginHandler;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1805 extends com.vaadin.Application {
+public class Ticket1805 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1806.java b/uitest/src/com/vaadin/tests/tickets/Ticket1806.java
index 45915957bf..b7443abd6c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1806.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1806.java
@@ -6,7 +6,7 @@ import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1806 extends com.vaadin.Application {
+public class Ticket1806 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1811.java b/uitest/src/com/vaadin/tests/tickets/Ticket1811.java
index ecc711a332..e334d8c959 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1811.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1811.java
@@ -13,7 +13,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class Ticket1811 extends com.vaadin.Application {
+public class Ticket1811 extends com.vaadin.LegacyApplication {
LinkedList<TextField> listOfAllFields = new LinkedList<TextField>();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1819.java b/uitest/src/com/vaadin/tests/tickets/Ticket1819.java
index 92f19d6113..909d91807b 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1819.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1819.java
@@ -12,7 +12,7 @@ import com.vaadin.ui.Select;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class Ticket1819 extends com.vaadin.Application {
+public class Ticket1819 extends com.vaadin.LegacyApplication {
LinkedList<Select> listOfAllFields = new LinkedList<Select>();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1834PanelScrolling.java b/uitest/src/com/vaadin/tests/tickets/Ticket1834PanelScrolling.java
index 2d2a24d5ac..e604482a5d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1834PanelScrolling.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1834PanelScrolling.java
@@ -8,7 +8,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1834PanelScrolling extends com.vaadin.Application {
+public class Ticket1834PanelScrolling extends com.vaadin.LegacyApplication {
private static final int ROWS = 50;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1857.java b/uitest/src/com/vaadin/tests/tickets/Ticket1857.java
index 5343caa6ed..0008156819 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1857.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1857.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.event.Action;
@@ -11,7 +11,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1857 extends Application implements Handler {
+public class Ticket1857 extends LegacyApplication implements Handler {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1868.java b/uitest/src/com/vaadin/tests/tickets/Ticket1868.java
index 932706cd11..2149cdc0a6 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1868.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1868.java
@@ -3,7 +3,7 @@ package com.vaadin.tests.tickets;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1868 extends com.vaadin.Application {
+public class Ticket1868 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1869.java b/uitest/src/com/vaadin/tests/tickets/Ticket1869.java
index 9d6a7d4213..a8fb5dbdb8 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1869.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1869.java
@@ -7,7 +7,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1869 extends com.vaadin.Application {
+public class Ticket1869 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1878.java b/uitest/src/com/vaadin/tests/tickets/Ticket1878.java
index 9892e534e8..f240151e0a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1878.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1878.java
@@ -4,7 +4,7 @@ import java.util.Date;
import java.util.Iterator;
import java.util.Random;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.BeanItem;
import com.vaadin.data.validator.StringLengthValidator;
import com.vaadin.server.Resource;
@@ -27,7 +27,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1878 extends Application {
+public class Ticket1878 extends LegacyApplication {
private Layout orderedLayout;
private Layout gridLayout;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1900.java b/uitest/src/com/vaadin/tests/tickets/Ticket1900.java
index 0160371f5d..b1395b4602 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1900.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1900.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Validator;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1900 extends Application {
+public class Ticket1900 extends LegacyApplication {
TextField f[] = new TextField[5];
LegacyWindow main = new LegacyWindow("#1900 test");
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1904.java b/uitest/src/com/vaadin/tests/tickets/Ticket1904.java
index 5891831038..ee6a9fe638 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1904.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1904.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Button;
import com.vaadin.ui.HorizontalLayout;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1904 extends Application {
+public class Ticket1904 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1916.java b/uitest/src/com/vaadin/tests/tickets/Ticket1916.java
index 428997ea58..ad388ec665 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1916.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1916.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.UserError;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1916 extends Application {
+public class Ticket1916 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1919.java b/uitest/src/com/vaadin/tests/tickets/Ticket1919.java
index 8ef57ea2bd..d7c647c731 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1919.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1919.java
@@ -7,7 +7,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1919 extends com.vaadin.Application {
+public class Ticket1919 extends com.vaadin.LegacyApplication {
private GridLayout lo;
private boolean on = true;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1921.java b/uitest/src/com/vaadin/tests/tickets/Ticket1921.java
index b33484da23..d2aa19e47d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1921.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1921.java
@@ -3,7 +3,7 @@ package com.vaadin.tests.tickets;
import java.io.IOException;
import java.util.Map;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.VaadinSession;
import com.vaadin.server.WrappedRequest;
@@ -14,7 +14,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1921 extends Application implements RequestHandler {
+public class Ticket1921 extends LegacyApplication implements RequestHandler {
int state = -1;
int round = 1;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1923.java b/uitest/src/com/vaadin/tests/tickets/Ticket1923.java
index 0d25168bf8..a53247e876 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1923.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1923.java
@@ -5,7 +5,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1923 extends com.vaadin.Application {
+public class Ticket1923 extends com.vaadin.LegacyApplication {
private static final int ROWS = 50;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1925.java b/uitest/src/com/vaadin/tests/tickets/Ticket1925.java
index 8e0b65bb6e..ccf21c7206 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1925.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1925.java
@@ -1,9 +1,9 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1925 extends Application {
+public class Ticket1925 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1939.java b/uitest/src/com/vaadin/tests/tickets/Ticket1939.java
index 50d01feba5..cbb76e49e4 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1939.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1939.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1939 extends Application {
+public class Ticket1939 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1940.java b/uitest/src/com/vaadin/tests/tickets/Ticket1940.java
index 1e75b890a2..dcc1d9669a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1940.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1940.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1940 extends Application {
+public class Ticket1940 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1953.java b/uitest/src/com/vaadin/tests/tickets/Ticket1953.java
index 8fd62b8a2b..3824f1f662 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1953.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1953.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1953 extends Application {
+public class Ticket1953 extends LegacyApplication {
public static final String cellStyle = "test-cell";
public static final String colHeadStyle = "test-col-head";
public static final String headingStyle = "test-heading";
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1966.java b/uitest/src/com/vaadin/tests/tickets/Ticket1966.java
index ebd04a8857..461923da9c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1966.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1966.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Button;
@@ -12,7 +12,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1966 extends Application {
+public class Ticket1966 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1966_2.java b/uitest/src/com/vaadin/tests/tickets/Ticket1966_2.java
index 12b17a4601..8a5641d05c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1966_2.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1966_2.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Button;
@@ -12,7 +12,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1966_2 extends Application {
+public class Ticket1966_2 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1966_3.java b/uitest/src/com/vaadin/tests/tickets/Ticket1966_3.java
index d2bbde9130..e0bd063d6a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1966_3.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1966_3.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ThemeResource;
import com.vaadin.server.UserError;
import com.vaadin.ui.Alignment;
@@ -10,7 +10,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1966_3 extends Application {
+public class Ticket1966_3 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1969.java b/uitest/src/com/vaadin/tests/tickets/Ticket1969.java
index 862c4b7f3f..3b525d470c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1969.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1969.java
@@ -10,7 +10,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1969 extends com.vaadin.Application {
+public class Ticket1969 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1970.java b/uitest/src/com/vaadin/tests/tickets/Ticket1970.java
index 0cd91f518d..d3209f4442 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1970.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1970.java
@@ -2,14 +2,14 @@ package com.vaadin.tests.tickets;
import java.util.Iterator;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1970 extends Application {
+public class Ticket1970 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1972.java b/uitest/src/com/vaadin/tests/tickets/Ticket1972.java
index 0de827bfd2..2d73edf487 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1972.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1972.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1972 extends Application {
+public class Ticket1972 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1973.java b/uitest/src/com/vaadin/tests/tickets/Ticket1973.java
index d628435951..6b95bb4fbf 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1973.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1973.java
@@ -8,7 +8,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1973 extends com.vaadin.Application {
+public class Ticket1973 extends com.vaadin.LegacyApplication {
LegacyWindow main = new LegacyWindow();
Table table = new Table();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1973_2.java b/uitest/src/com/vaadin/tests/tickets/Ticket1973_2.java
index 91ce9d12e7..2678574249 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1973_2.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1973_2.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.util.IndexedContainer;
import com.vaadin.ui.Button;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket1973_2 extends Application {
+public class Ticket1973_2 extends LegacyApplication {
LegacyWindow main = new LegacyWindow();
Table table = new Table();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1975.java b/uitest/src/com/vaadin/tests/tickets/Ticket1975.java
index e2804e9c3c..a688fd9908 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1975.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1975.java
@@ -4,7 +4,7 @@ import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.WrappedRequest;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -14,7 +14,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.util.CurrentInstance;
-public class Ticket1975 extends Application {
+public class Ticket1975 extends LegacyApplication {
private CustomLayout cl1;
private CustomLayout cl2;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1982.java b/uitest/src/com/vaadin/tests/tickets/Ticket1982.java
index 433dce1bfb..55e95f0eb3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1982.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1982.java
@@ -3,7 +3,7 @@ package com.vaadin.tests.tickets;
import java.util.ArrayList;
import java.util.List;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -12,7 +12,7 @@ import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1982 extends Application {
+public class Ticket1982 extends LegacyApplication {
private List<TitleBar> components = new ArrayList<TitleBar>();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1983.java b/uitest/src/com/vaadin/tests/tickets/Ticket1983.java
index e083b992e1..18f257effe 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1983.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1983.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
import com.vaadin.data.util.IndexedContainer;
@@ -16,7 +16,7 @@ import com.vaadin.ui.VerticalLayout;
/**
* Test class for ticket 1983
*/
-public class Ticket1983 extends Application {
+public class Ticket1983 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1986.java b/uitest/src/com/vaadin/tests/tickets/Ticket1986.java
index 72efd682f5..1920a146ef 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1986.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1986.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.DateField;
@@ -12,7 +12,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.TwinColSelect;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1986 extends Application {
+public class Ticket1986 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1991.java b/uitest/src/com/vaadin/tests/tickets/Ticket1991.java
index 13fbfe07d9..af2c9ca982 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1991.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1991.java
@@ -4,7 +4,7 @@ import com.vaadin.ui.CheckBox;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1991 extends com.vaadin.Application {
+public class Ticket1991 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1995.java b/uitest/src/com/vaadin/tests/tickets/Ticket1995.java
index d25808332d..d765efe003 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1995.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1995.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container;
import com.vaadin.data.Container.Filterable;
import com.vaadin.data.Item;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1995 extends Application {
+public class Ticket1995 extends LegacyApplication {
private static final Object PROPERTY_1 = "Test";
private Table table;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket20.java b/uitest/src/com/vaadin/tests/tickets/Ticket20.java
index 9b1878a856..80416155c3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket20.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket20.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Validator;
import com.vaadin.data.util.MethodProperty;
import com.vaadin.data.validator.CompositeValidator;
@@ -11,7 +11,7 @@ import com.vaadin.ui.CheckBox;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket20 extends Application {
+public class Ticket20 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2001.java b/uitest/src/com/vaadin/tests/tickets/Ticket2001.java
index f5b3071bd0..41496754bf 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2001.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2001.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.ui.CheckBox;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2001 extends Application {
+public class Ticket2001 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2002.java b/uitest/src/com/vaadin/tests/tickets/Ticket2002.java
index 7e0f09b180..5faa586151 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2002.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2002.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.MethodProperty;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2002 extends Application {
+public class Ticket2002 extends LegacyApplication {
private Long long1 = new Long(1L);
private Long long2 = new Long(2L);
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2007.java b/uitest/src/com/vaadin/tests/tickets/Ticket2007.java
index 4b64cc33d2..d97444d5c7 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2007.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2007.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ExternalResource;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2007 extends Application {
+public class Ticket2007 extends LegacyApplication {
int childs = 0;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2009.java b/uitest/src/com/vaadin/tests/tickets/Ticket2009.java
index f641c507df..538ffb762b 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2009.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2009.java
@@ -15,7 +15,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
-public class Ticket2009 extends com.vaadin.Application {
+public class Ticket2009 extends com.vaadin.LegacyApplication {
TextField f = new TextField();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2011.java b/uitest/src/com/vaadin/tests/tickets/Ticket2011.java
index f1b11f9ae8..0149084f0c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2011.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2011.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Select;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2011 extends Application {
+public class Ticket2011 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2014.java b/uitest/src/com/vaadin/tests/tickets/Ticket2014.java
index bf05b8bb14..1398feca2b 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2014.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2014.java
@@ -2,7 +2,7 @@ package com.vaadin.tests.tickets;
import java.util.UUID;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -11,7 +11,7 @@ import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2014 extends Application {
+public class Ticket2014 extends LegacyApplication {
private HorizontalLayout innerLayout1;
private Button b1;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2021.java b/uitest/src/com/vaadin/tests/tickets/Ticket2021.java
index 51abe19020..d6d8a359cd 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2021.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2021.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractComponent;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Button;
@@ -15,7 +15,7 @@ import com.vaadin.ui.TextArea;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2021 extends Application {
+public class Ticket2021 extends LegacyApplication {
private TextArea tf1, tf2, tf3;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2022.java b/uitest/src/com/vaadin/tests/tickets/Ticket2022.java
index 523e1b7f7d..a5737a0fbf 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2022.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2022.java
@@ -1,10 +1,10 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2022 extends Application {
+public class Ticket2022 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2023.java b/uitest/src/com/vaadin/tests/tickets/Ticket2023.java
index a6dd5cc92c..9570f19091 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2023.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2023.java
@@ -6,7 +6,7 @@ import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2023 extends com.vaadin.Application implements
+public class Ticket2023 extends com.vaadin.LegacyApplication implements
Button.ClickListener {
AbstractComponent c = new Button();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2024.java b/uitest/src/com/vaadin/tests/tickets/Ticket2024.java
index a761db1c63..538aa4d6df 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2024.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2024.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2024 extends Application {
+public class Ticket2024 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2026.java b/uitest/src/com/vaadin/tests/tickets/Ticket2026.java
index 7ad309e293..55da756322 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2026.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2026.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2026 extends Application {
+public class Ticket2026 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2029.java b/uitest/src/com/vaadin/tests/tickets/Ticket2029.java
index 9c03a2149b..912b141dc3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2029.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2029.java
@@ -2,7 +2,7 @@ package com.vaadin.tests.tickets;
import java.util.Random;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
import com.vaadin.server.UserError;
@@ -16,7 +16,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2029 extends Application {
+public class Ticket2029 extends LegacyApplication {
int COMPONENTS;
int DIM1, DIM2;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2037.java b/uitest/src/com/vaadin/tests/tickets/Ticket2037.java
index eee8e087fd..68c977b84b 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2037.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2037.java
@@ -7,7 +7,7 @@ import com.vaadin.ui.Layout;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2037 extends com.vaadin.Application {
+public class Ticket2037 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2038.java b/uitest/src/com/vaadin/tests/tickets/Ticket2038.java
index 693ef3a15c..a05e53427f 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2038.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2038.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.ui.CheckBox;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Notification;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2038 extends Application {
+public class Ticket2038 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2040.java b/uitest/src/com/vaadin/tests/tickets/Ticket2040.java
index 44fa6d0cd5..5134f5ff52 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2040.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2040.java
@@ -7,7 +7,7 @@ import com.vaadin.ui.TextArea;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2040 extends com.vaadin.Application {
+public class Ticket2040 extends com.vaadin.LegacyApplication {
TextField f = new TextField();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2042.java b/uitest/src/com/vaadin/tests/tickets/Ticket2042.java
index 2cb9e103d6..c96dd52183 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2042.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2042.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.Notification;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2042 extends Application {
+public class Ticket2042 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2043.java b/uitest/src/com/vaadin/tests/tickets/Ticket2043.java
index 84e7167164..d3d984c8be 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2043.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2043.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ExternalResource;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Link;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2043 extends Application {
+public class Ticket2043 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2048.java b/uitest/src/com/vaadin/tests/tickets/Ticket2048.java
index 4d9454341a..05ca9c4526 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2048.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2048.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ThemeResource;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -13,7 +13,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2048 extends Application {
+public class Ticket2048 extends LegacyApplication {
private Embedded embedded;
private Panel p;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2051.java b/uitest/src/com/vaadin/tests/tickets/Ticket2051.java
index 59bcf71ba2..012d74ef93 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2051.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2051.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.ui.Button;
import com.vaadin.ui.Component;
@@ -11,7 +11,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2051 extends Application {
+public class Ticket2051 extends LegacyApplication {
private static final Object P1 = new Object();
private static final Object P2 = new Object();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2053.java b/uitest/src/com/vaadin/tests/tickets/Ticket2053.java
index cd4c09cd13..437a4c48b5 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2053.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2053.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.server.ExternalResource;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2053 extends Application {
+public class Ticket2053 extends LegacyApplication {
int childs = 0;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2060.java b/uitest/src/com/vaadin/tests/tickets/Ticket2060.java
index de5f44d0e8..a461264237 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2060.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2060.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -8,7 +8,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2060 extends Application {
+public class Ticket2060 extends LegacyApplication {
private Button button1;
private Button button2;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2061.java b/uitest/src/com/vaadin/tests/tickets/Ticket2061.java
index 9d12c11b26..5e2596f816 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2061.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2061.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
@@ -13,7 +13,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2061 extends Application {
+public class Ticket2061 extends LegacyApplication {
private LegacyWindow mainWindow;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2061b.java b/uitest/src/com/vaadin/tests/tickets/Ticket2061b.java
index e4d253b241..71ac3a0064 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2061b.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2061b.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
@@ -21,7 +21,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.VerticalSplitPanel;
-public class Ticket2061b extends Application implements
+public class Ticket2061b extends LegacyApplication implements
SelectedTabChangeListener {
private LegacyWindow mainWindow;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2061c.java b/uitest/src/com/vaadin/tests/tickets/Ticket2061c.java
index 5673e1d20d..f0f8868e2f 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2061c.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2061c.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
@@ -17,7 +17,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2061c extends Application implements
+public class Ticket2061c extends LegacyApplication implements
SelectedTabChangeListener {
private LegacyWindow mainWindow;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2062.java b/uitest/src/com/vaadin/tests/tickets/Ticket2062.java
index f21a3705e5..021ed83972 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2062.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2062.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.HorizontalSplitPanel;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.Table;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2062 extends Application {
+public class Ticket2062 extends LegacyApplication {
private static final Object P1 = new Object();
@Override
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2083.java b/uitest/src/com/vaadin/tests/tickets/Ticket2083.java
index 69583ce367..061fb47f76 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2083.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2083.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2083 extends Application {
+public class Ticket2083 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2090.java b/uitest/src/com/vaadin/tests/tickets/Ticket2090.java
index 9b4bd98935..ef9bb9c5f9 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2090.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2090.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.server.UserError;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2090 extends Application {
+public class Ticket2090 extends LegacyApplication {
Label label = new Label();
Button target = new Button();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2095.java b/uitest/src/com/vaadin/tests/tickets/Ticket2095.java
index c0152a1fc9..701c306c19 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2095.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2095.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ExternalResource;
import com.vaadin.ui.Embedded;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2095 extends Application {
+public class Ticket2095 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2098.java b/uitest/src/com/vaadin/tests/tickets/Ticket2098.java
index 4e29311101..66f222a3db 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2098.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2098.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Label;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2098 extends Application {
+public class Ticket2098 extends LegacyApplication {
private static final String info = "First tab hidden, second should initially be selected";
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2099.java b/uitest/src/com/vaadin/tests/tickets/Ticket2099.java
index 58cdd2e819..1163a8e87a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2099.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2099.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -11,7 +11,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
-public class Ticket2099 extends Application {
+public class Ticket2099 extends LegacyApplication {
private Label l1, l2, l3;
private VerticalLayout ol1, ol2, ol3;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2101.java b/uitest/src/com/vaadin/tests/tickets/Ticket2101.java
index c38e4b6ed2..c4c6b7320d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2101.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2101.java
@@ -1,10 +1,10 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2101 extends Application {
+public class Ticket2101 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2103.java b/uitest/src/com/vaadin/tests/tickets/Ticket2103.java
index e0ad1cc8af..7f01f43aa3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2103.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2103.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.util.HierarchicalContainer;
import com.vaadin.ui.Accordion;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2103 extends Application {
+public class Ticket2103 extends LegacyApplication {
private LegacyWindow mainWindow;
@Override
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2104.java b/uitest/src/com/vaadin/tests/tickets/Ticket2104.java
index e5e774a5b6..b6a87552b7 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2104.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2104.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
import com.vaadin.data.util.MethodProperty;
@@ -15,7 +15,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.Tree;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2104 extends Application {
+public class Ticket2104 extends LegacyApplication {
private static final Label info = new Label(
"Click event should _always_ come trough. Switching features on/off should immediatly affect the tree (verify w/ debug window)",
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2106.java b/uitest/src/com/vaadin/tests/tickets/Ticket2106.java
index f509a082e1..569d4fe30f 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2106.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2106.java
@@ -2,7 +2,7 @@ package com.vaadin.tests.tickets;
import java.util.Date;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.CustomizedSystemMessages;
import com.vaadin.server.SystemMessages;
import com.vaadin.ui.Button;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2106 extends Application {
+public class Ticket2106 extends LegacyApplication {
private static CustomizedSystemMessages msgs = new CustomizedSystemMessages();
static {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2107.java b/uitest/src/com/vaadin/tests/tickets/Ticket2107.java
index 4efb708b1c..94652ab4a8 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2107.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2107.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Validator;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Notification;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2107 extends Application {
+public class Ticket2107 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2117.java b/uitest/src/com/vaadin/tests/tickets/Ticket2117.java
index c218e71a43..53231dd9bc 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2117.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2117.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ExternalResource;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Button;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Button.ClickListener;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2117 extends Application {
+public class Ticket2117 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2119.java b/uitest/src/com/vaadin/tests/tickets/Ticket2119.java
index 21003e7a5d..76c429ec11 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2119.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2119.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.util.ObjectProperty;
import com.vaadin.server.ExternalResource;
@@ -15,7 +15,7 @@ import com.vaadin.ui.VerticalLayout;
/**
* Test case for Ticket 2119.
*/
-public class Ticket2119 extends Application {
+public class Ticket2119 extends LegacyApplication {
private ObjectProperty<String> globalValue;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2125.java b/uitest/src/com/vaadin/tests/tickets/Ticket2125.java
index 8b65bc6b0d..5101b6d46b 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2125.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2125.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.MethodProperty;
import com.vaadin.ui.CheckBox;
import com.vaadin.ui.Component;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Table.CellStyleGenerator;
import com.vaadin.ui.Table.ColumnGenerator;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2125 extends Application {
+public class Ticket2125 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2126.java b/uitest/src/com/vaadin/tests/tickets/Ticket2126.java
index ee87640213..20a97a3be9 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2126.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2126.java
@@ -14,7 +14,7 @@ import com.vaadin.ui.UI.LegacyWindow;
* client.
*
*/
-public class Ticket2126 extends com.vaadin.Application {
+public class Ticket2126 extends com.vaadin.LegacyApplication {
LegacyWindow main = new LegacyWindow();
Table table = new Table();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2151.java b/uitest/src/com/vaadin/tests/tickets/Ticket2151.java
index 13611bf16c..1606218b88 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2151.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2151.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.ObjectProperty;
import com.vaadin.ui.AbstractComponent;
import com.vaadin.ui.AbstractField;
@@ -10,7 +10,7 @@ import com.vaadin.ui.CheckBox;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2151 extends Application {
+public class Ticket2151 extends LegacyApplication {
private Label status;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2157.java b/uitest/src/com/vaadin/tests/tickets/Ticket2157.java
index 423183bddf..bbd4dcf192 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2157.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2157.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2157 extends Application {
+public class Ticket2157 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2178.java b/uitest/src/com/vaadin/tests/tickets/Ticket2178.java
index 33b5177935..897ffaaf1b 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2178.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2178.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2178 extends Application {
+public class Ticket2178 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2179.java b/uitest/src/com/vaadin/tests/tickets/Ticket2179.java
index 68a1b8e911..d27c1f6c6b 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2179.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2179.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Validator;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2179 extends Application {
+public class Ticket2179 extends LegacyApplication {
TextField f = new TextField("Test fiel ( must contain 1 & 2 )");
LegacyWindow main = new LegacyWindow("Dual validator test");
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2180.java b/uitest/src/com/vaadin/tests/tickets/Ticket2180.java
index 6bcde60aac..dfbd30bdab 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2180.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2180.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Label;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2180 extends Application {
+public class Ticket2180 extends LegacyApplication {
private LegacyWindow mainWindow;
private TabSheet tabSheet;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2181.java b/uitest/src/com/vaadin/tests/tickets/Ticket2181.java
index 175bf7580c..6b8b40abc1 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2181.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2181.java
@@ -5,7 +5,7 @@ import java.util.Date;
import java.util.Random;
import java.util.Set;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ThemeResource;
import com.vaadin.server.UserError;
import com.vaadin.ui.Button;
@@ -16,7 +16,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2181 extends Application implements Button.ClickListener {
+public class Ticket2181 extends LegacyApplication implements Button.ClickListener {
// private static final Object PROPERTY_VALUE = new Object();
// private static final Object PROPERTY_CAPTION = new Object();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2186.java b/uitest/src/com/vaadin/tests/tickets/Ticket2186.java
index 228efd9e6c..5aa2e6208d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2186.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2186.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2186 extends Application {
+public class Ticket2186 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2204.java b/uitest/src/com/vaadin/tests/tickets/Ticket2204.java
index f41adc8054..c32627b464 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2204.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2204.java
@@ -5,7 +5,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.util.BeanItem;
import com.vaadin.ui.AbstractOrderedLayout;
@@ -31,7 +31,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.VerticalSplitPanel;
-public class Ticket2204 extends Application {
+public class Ticket2204 extends LegacyApplication {
private final List<RichTextArea> textAreas = new ArrayList<RichTextArea>();
private TabSheet ts;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2208.java b/uitest/src/com/vaadin/tests/tickets/Ticket2208.java
index c8c1eba9d7..c517e50070 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2208.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2208.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.ui.Component;
import com.vaadin.ui.Label;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Table.CellStyleGenerator;
import com.vaadin.ui.Table.ColumnGenerator;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2208 extends Application {
+public class Ticket2208 extends LegacyApplication {
private Table t;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2209.java b/uitest/src/com/vaadin/tests/tickets/Ticket2209.java
index 9e84b82a0f..6dc1e7bd71 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2209.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2209.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -9,7 +9,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2209 extends Application {
+public class Ticket2209 extends LegacyApplication {
private GridLayout gl;
private ComboBox combo;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2209OL.java b/uitest/src/com/vaadin/tests/tickets/Ticket2209OL.java
index 76ce659370..55b7a17c89 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2209OL.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2209OL.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2209OL extends Application {
+public class Ticket2209OL extends LegacyApplication {
private VerticalLayout gl;
private ComboBox combo;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2209OL2.java b/uitest/src/com/vaadin/tests/tickets/Ticket2209OL2.java
index 63947d91fb..9615b6f249 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2209OL2.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2209OL2.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2209OL2 extends Application {
+public class Ticket2209OL2 extends LegacyApplication {
private VerticalLayout gl;
private ComboBox combo;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2215.java b/uitest/src/com/vaadin/tests/tickets/Ticket2215.java
index 1a9e4382d7..6dfcf9d344 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2215.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2215.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.Reindeer;
-public class Ticket2215 extends Application {
+public class Ticket2215 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2221.java b/uitest/src/com/vaadin/tests/tickets/Ticket2221.java
index d7f45a0fb6..858e852b1e 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2221.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2221.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -13,7 +13,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2221 extends Application {
+public class Ticket2221 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2222.java b/uitest/src/com/vaadin/tests/tickets/Ticket2222.java
index c0b56f14c2..e46477e4de 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2222.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2222.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.HorizontalLayout;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2222 extends Application {
+public class Ticket2222 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2227OrderedlayoutInTable.java b/uitest/src/com/vaadin/tests/tickets/Ticket2227OrderedlayoutInTable.java
index a81e1d14b0..7b0de4cbfa 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2227OrderedlayoutInTable.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2227OrderedlayoutInTable.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.ui.Component;
import com.vaadin.ui.Label;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2227OrderedlayoutInTable extends Application {
+public class Ticket2227OrderedlayoutInTable extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2231.java b/uitest/src/com/vaadin/tests/tickets/Ticket2231.java
index c26c08c0bd..935c34fec2 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2231.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2231.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2231 extends Application {
+public class Ticket2231 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2232.java b/uitest/src/com/vaadin/tests/tickets/Ticket2232.java
index 48b4765c0a..4aa1b948a5 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2232.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2232.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
@@ -9,7 +9,7 @@ import com.vaadin.ui.Layout.SpacingHandler;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2232 extends Application {
+public class Ticket2232 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2234.java b/uitest/src/com/vaadin/tests/tickets/Ticket2234.java
index a66164043a..dcc3f90696 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2234.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2234.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2234 extends Application {
+public class Ticket2234 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2235.java b/uitest/src/com/vaadin/tests/tickets/Ticket2235.java
index b4ec666335..afb47199bb 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2235.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2235.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.TextArea;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2235 extends Application {
+public class Ticket2235 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2240.java b/uitest/src/com/vaadin/tests/tickets/Ticket2240.java
index fa7f0973fd..6fc36fbdf0 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2240.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2240.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2240 extends Application {
+public class Ticket2240 extends LegacyApplication {
public static final String txt = "<p>There are two main types of windows: application-level windows, and "
+ "\"sub windows\".</p><p>A sub window is rendered as a \"inline\" popup window"
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2242.java b/uitest/src/com/vaadin/tests/tickets/Ticket2242.java
index 76be51a20b..408d7ae789 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2242.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2242.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Item;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
@@ -13,7 +13,7 @@ import com.vaadin.ui.Button.ClickListener;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2242 extends Application implements ValueChangeListener {
+public class Ticket2242 extends LegacyApplication implements ValueChangeListener {
private Object tableValue = null;
private Table t;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2244.java b/uitest/src/com/vaadin/tests/tickets/Ticket2244.java
index e65e826a53..5b46e0332d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2244.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2244.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.BeanItem;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -10,7 +10,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2244 extends Application {
+public class Ticket2244 extends LegacyApplication {
Form form;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2245.java b/uitest/src/com/vaadin/tests/tickets/Ticket2245.java
index c62ccd0395..09d2e7a678 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2245.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2245.java
@@ -1,10 +1,10 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.HorizontalSplitPanel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2245 extends Application {
+public class Ticket2245 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2267.java b/uitest/src/com/vaadin/tests/tickets/Ticket2267.java
index 0cedac4490..1a8e743f42 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2267.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2267.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -8,7 +8,7 @@ import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2267 extends Application {
+public class Ticket2267 extends LegacyApplication {
Label l = new Label("0");
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2271.java b/uitest/src/com/vaadin/tests/tickets/Ticket2271.java
index c784385e93..71f47be1b3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2271.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2271.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Button;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2271 extends Application {
+public class Ticket2271 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2282.java b/uitest/src/com/vaadin/tests/tickets/Ticket2282.java
index b805f2403c..8f6da9ffc5 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2282.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2282.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.FormLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2282 extends Application {
+public class Ticket2282 extends LegacyApplication {
private FormLayout layout1;
private FormLayout layout2;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2283.java b/uitest/src/com/vaadin/tests/tickets/Ticket2283.java
index 3a174bf9cf..daac9ae704 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2283.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2283.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2283 extends Application {
+public class Ticket2283 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2289.java b/uitest/src/com/vaadin/tests/tickets/Ticket2289.java
index 2be6b14d32..fcd1c2a578 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2289.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2289.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Accordion;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
@@ -11,7 +11,7 @@ import com.vaadin.ui.TabSheet;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2289 extends Application {
+public class Ticket2289 extends LegacyApplication {
TabSheet ts = null;
Accordion acc = null;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2292.java b/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
index 6a831d1cfd..8fd1c7f883 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
@@ -21,7 +21,7 @@ import com.vaadin.ui.Label;
import com.vaadin.ui.Link;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2292 extends com.vaadin.Application implements
+public class Ticket2292 extends com.vaadin.LegacyApplication implements
RequestHandler {
@Override
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2294.java b/uitest/src/com/vaadin/tests/tickets/Ticket2294.java
index e8b36596fc..cfa5ecdd61 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2294.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2294.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.AbstractOrderedLayout;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2294 extends Application {
+public class Ticket2294 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2296.java b/uitest/src/com/vaadin/tests/tickets/Ticket2296.java
index d274151b63..2a19899425 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2296.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2296.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2296 extends Application {
+public class Ticket2296 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2303.java b/uitest/src/com/vaadin/tests/tickets/Ticket2303.java
index b32828abfb..dd6a3886ac 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2303.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2303.java
@@ -3,13 +3,13 @@ package com.vaadin.tests.tickets;
import java.io.ByteArrayInputStream;
import java.io.IOException;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2303 extends Application {
+public class Ticket2303 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2304.java b/uitest/src/com/vaadin/tests/tickets/Ticket2304.java
index 6d404643aa..84321b88f3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2304.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2304.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.themes.Reindeer;
-public class Ticket2304 extends Application {
+public class Ticket2304 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2310.java b/uitest/src/com/vaadin/tests/tickets/Ticket2310.java
index f66b5dcc18..99d10ff36d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2310.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2310.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Label;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.themes.Reindeer;
-public class Ticket2310 extends Application {
+public class Ticket2310 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2319.java b/uitest/src/com/vaadin/tests/tickets/Ticket2319.java
index bb0ceb5629..dd0a54dc63 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2319.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2319.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.HorizontalSplitPanel;
@@ -10,7 +10,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.VerticalSplitPanel;
-public class Ticket2319 extends Application {
+public class Ticket2319 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2323.java b/uitest/src/com/vaadin/tests/tickets/Ticket2323.java
index db33c6f6a6..eba7f2b06d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2323.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2323.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.RichTextArea;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class Ticket2323 extends Application {
+public class Ticket2323 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2325.java b/uitest/src/com/vaadin/tests/tickets/Ticket2325.java
index d6561ccf76..0277831f41 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2325.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2325.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.TextArea;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
-public class Ticket2325 extends Application {
+public class Ticket2325 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2329.java b/uitest/src/com/vaadin/tests/tickets/Ticket2329.java
index b966359f4c..d2e5e39abd 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2329.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2329.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Component;
import com.vaadin.ui.Table;
@@ -8,7 +8,7 @@ import com.vaadin.ui.Table.ColumnGenerator;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2329 extends Application {
+public class Ticket2329 extends LegacyApplication {
private Table table;
private VerticalLayout mainLo;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2337.java b/uitest/src/com/vaadin/tests/tickets/Ticket2337.java
index cc99796588..b2ad360bf8 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2337.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2337.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2337 extends Application {
+public class Ticket2337 extends LegacyApplication {
GridLayout gl = new GridLayout(3, 1);
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2339.java b/uitest/src/com/vaadin/tests/tickets/Ticket2339.java
index fb535cbce7..e1eb9ed5c4 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2339.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2339.java
@@ -3,12 +3,12 @@ package com.vaadin.tests.tickets;
import java.io.ByteArrayInputStream;
import java.io.IOException;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2339 extends Application {
+public class Ticket2339 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2341.java b/uitest/src/com/vaadin/tests/tickets/Ticket2341.java
index ae804ab47b..f01c211629 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2341.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2341.java
@@ -6,7 +6,7 @@ import com.vaadin.ui.Layout;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2341 extends com.vaadin.Application {
+public class Ticket2341 extends com.vaadin.LegacyApplication {
@Override
public void init() {
LegacyWindow main = new LegacyWindow();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2344.java b/uitest/src/com/vaadin/tests/tickets/Ticket2344.java
index 56ff0351b1..a00c00685e 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2344.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2344.java
@@ -2,14 +2,14 @@ package com.vaadin.tests.tickets;
import java.util.Random;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.BaseTheme;
-public class Ticket2344 extends Application {
+public class Ticket2344 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2347.java b/uitest/src/com/vaadin/tests/tickets/Ticket2347.java
index 2aa3eccc32..393aebf2ad 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2347.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2347.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -8,7 +8,7 @@ import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2347 extends Application {
+public class Ticket2347 extends LegacyApplication {
private Button b1;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2364.java b/uitest/src/com/vaadin/tests/tickets/Ticket2364.java
index f9a4e25020..81ee50cdcb 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2364.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2364.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Form;
import com.vaadin.ui.Select;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2364 extends Application {
+public class Ticket2364 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2365.java b/uitest/src/com/vaadin/tests/tickets/Ticket2365.java
index b2737ed3aa..8361b0b308 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2365.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2365.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2365 extends Application {
+public class Ticket2365 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2398.java b/uitest/src/com/vaadin/tests/tickets/Ticket2398.java
index f923c055d5..aa8b58d017 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2398.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2398.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.IndexedContainer;
import com.vaadin.ui.Label;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2398 extends Application {
+public class Ticket2398 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2404.java b/uitest/src/com/vaadin/tests/tickets/Ticket2404.java
index 8b86c6b0b5..b26cfc027a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2404.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2404.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2404 extends Application {
+public class Ticket2404 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2405.java b/uitest/src/com/vaadin/tests/tickets/Ticket2405.java
index 805fb30aac..d89a877d92 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2405.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2405.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.ExternalResource;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Button;
@@ -13,7 +13,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2405 extends Application {
+public class Ticket2405 extends LegacyApplication {
private Label label;
private HorizontalSplitPanel split;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2406.java b/uitest/src/com/vaadin/tests/tickets/Ticket2406.java
index c14c655cd1..a6ef9be77a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2406.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2406.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
@@ -8,7 +8,7 @@ import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
-public class Ticket2406 extends Application {
+public class Ticket2406 extends LegacyApplication {
private Window w;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2407.java b/uitest/src/com/vaadin/tests/tickets/Ticket2407.java
index 02b26c848d..012d0aa67a 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2407.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2407.java
@@ -5,7 +5,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2407 extends com.vaadin.Application {
+public class Ticket2407 extends com.vaadin.LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2411.java b/uitest/src/com/vaadin/tests/tickets/Ticket2411.java
index a73b7fab95..b9784d6941 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2411.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2411.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2411 extends Application {
+public class Ticket2411 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2415.java b/uitest/src/com/vaadin/tests/tickets/Ticket2415.java
index d67607751f..028e8203f8 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2415.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2415.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2415 extends Application {
+public class Ticket2415 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2420.java b/uitest/src/com/vaadin/tests/tickets/Ticket2420.java
index bc14a7291f..d1ecfab9be 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2420.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2420.java
@@ -1,10 +1,10 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.ProgressIndicator;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2420 extends Application {
+public class Ticket2420 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2425.java b/uitest/src/com/vaadin/tests/tickets/Ticket2425.java
index 1872aab484..7c0e43520f 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2425.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2425.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2425 extends Application {
+public class Ticket2425 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2426.java b/uitest/src/com/vaadin/tests/tickets/Ticket2426.java
index 03d5c0d0ee..4d76e04e05 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2426.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2426.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2426 extends Application {
+public class Ticket2426 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2431.java b/uitest/src/com/vaadin/tests/tickets/Ticket2431.java
index 4bf17c9668..5db59ab45c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2431.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2431.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.event.Action;
import com.vaadin.event.Action.Handler;
import com.vaadin.event.ShortcutAction;
@@ -9,7 +9,7 @@ import com.vaadin.event.ShortcutAction.ModifierKey;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2431 extends Application {
+public class Ticket2431 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2432.java b/uitest/src/com/vaadin/tests/tickets/Ticket2432.java
index d741902619..4a1dfb33bb 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2432.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2432.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.HorizontalLayout;
@@ -10,7 +10,7 @@ import com.vaadin.ui.Layout.AlignmentHandler;
import com.vaadin.ui.Layout.SpacingHandler;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2432 extends Application {
+public class Ticket2432 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2434.java b/uitest/src/com/vaadin/tests/tickets/Ticket2434.java
index 64b543f74c..ad1df9c57d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2434.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2434.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.tests.TestForTablesInitialColumnWidthLogicRendering;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2434 extends Application {
+public class Ticket2434 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2436.java b/uitest/src/com/vaadin/tests/tickets/Ticket2436.java
index bbda394f65..1445095b1e 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2436.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2436.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Component;
import com.vaadin.ui.PopupView;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2436 extends Application {
+public class Ticket2436 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2526.java b/uitest/src/com/vaadin/tests/tickets/Ticket2526.java
index a61d012f43..f340dd7e80 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2526.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2526.java
@@ -1,12 +1,12 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.Window;
-public class Ticket2526 extends Application {
+public class Ticket2526 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2742.java b/uitest/src/com/vaadin/tests/tickets/Ticket2742.java
index 0947d68c9c..6e9dea0363 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2742.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2742.java
@@ -3,7 +3,7 @@
*/
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.NativeSelect;
import com.vaadin.ui.UI.LegacyWindow;
@@ -12,7 +12,7 @@ import com.vaadin.ui.UI.LegacyWindow;
* @author Risto Yrjänä / Vaadin Ltd.
*
*/
-public class Ticket2742 extends Application {
+public class Ticket2742 extends LegacyApplication {
/*
* (non-Javadoc)
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2901.java b/uitest/src/com/vaadin/tests/tickets/Ticket2901.java
index 63464617da..23f875a747 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2901.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2901.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
@@ -11,7 +11,7 @@ import com.vaadin.ui.VerticalSplitPanel;
* properly. Scrollbars will disappear if "shaking" content a bit, like
* selecting tests in area.
*/
-public class Ticket2901 extends Application {
+public class Ticket2901 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2998.java b/uitest/src/com/vaadin/tests/tickets/Ticket2998.java
index a3bbe4344b..ca1929cf1c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2998.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2998.java
@@ -8,7 +8,7 @@ import java.util.Map;
import java.util.Random;
import java.util.Set;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container;
import com.vaadin.data.Validator;
import com.vaadin.data.util.BeanItemContainer;
@@ -38,7 +38,7 @@ import com.vaadin.ui.themes.Reindeer;
*
* Other browsers are much faster.
*/
-public class Ticket2998 extends Application {
+public class Ticket2998 extends LegacyApplication {
private Table table;
private VerticalLayout mainLayout;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket3146.java b/uitest/src/com/vaadin/tests/tickets/Ticket3146.java
index adc7d92023..a5db5b6ace 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket3146.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket3146.java
@@ -3,14 +3,14 @@ package com.vaadin.tests.tickets;
import java.util.Collection;
import java.util.HashSet;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Table;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket3146 extends Application {
+public class Ticket3146 extends LegacyApplication {
Table table;
TextField result;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket34.java b/uitest/src/com/vaadin/tests/tickets/Ticket34.java
index dedaf88dee..85c39c6842 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket34.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket34.java
@@ -3,7 +3,7 @@ package com.vaadin.tests.tickets;
import java.util.HashMap;
import java.util.Map;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.server.Page;
import com.vaadin.server.Page.FragmentChangedEvent;
import com.vaadin.ui.Button;
@@ -15,7 +15,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket34 extends Application {
+public class Ticket34 extends LegacyApplication {
private Map<String, Component> views = new HashMap<String, Component>();
private VerticalLayout mainLayout;
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket5053.java b/uitest/src/com/vaadin/tests/tickets/Ticket5053.java
index e263bf66fd..b055e63789 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket5053.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket5053.java
@@ -1,13 +1,13 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.UI.LegacyWindow;
/**
* #5053: Last ComboBox item may not be shown if null selection enabled
*/
-public class Ticket5053 extends Application {
+public class Ticket5053 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket5157.java b/uitest/src/com/vaadin/tests/tickets/Ticket5157.java
index 36255a7a57..bf38a5b9b1 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket5157.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket5157.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.event.ShortcutAction.KeyCode;
import com.vaadin.event.ShortcutListener;
import com.vaadin.ui.Label;
@@ -14,7 +14,7 @@ import com.vaadin.ui.UI.LegacyWindow;
* Therefore, registering e.g. F8 as a key code resulted in "w" being used as
* the trigger and F8 being ignored.
*/
-public class Ticket5157 extends Application {
+public class Ticket5157 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket5952.java b/uitest/src/com/vaadin/tests/tickets/Ticket5952.java
index 7af3da6990..c240d94f0c 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket5952.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket5952.java
@@ -1,11 +1,11 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket5952 extends Application {
+public class Ticket5952 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket677.java b/uitest/src/com/vaadin/tests/tickets/Ticket677.java
index 09cc55fb3d..588d16daec 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket677.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket677.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Container;
import com.vaadin.data.Item;
import com.vaadin.data.Property;
@@ -21,7 +21,7 @@ import com.vaadin.ui.Table;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket677 extends Application {
+public class Ticket677 extends LegacyApplication {
private static final Label info = new Label(
"<li> keep debug window open to see variable changes"
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket695.java b/uitest/src/com/vaadin/tests/tickets/Ticket695.java
index 68031b1fbd..d5f3d74ef0 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket695.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket695.java
@@ -4,13 +4,13 @@ import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.UI.LegacyWindow;
@SuppressWarnings("serial")
-public class Ticket695 extends Application {
+public class Ticket695 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket736.java b/uitest/src/com/vaadin/tests/tickets/Ticket736.java
index 72137500dd..865c5483dc 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket736.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket736.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.Validator;
import com.vaadin.data.util.BeanItem;
import com.vaadin.data.util.MethodProperty;
@@ -17,7 +17,7 @@ import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Panel;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket736 extends Application {
+public class Ticket736 extends LegacyApplication {
Address address = new Address();
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket846.java b/uitest/src/com/vaadin/tests/tickets/Ticket846.java
index 903343cec2..33b64961cf 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket846.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket846.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.data.util.MethodProperty;
import com.vaadin.data.validator.IntegerValidator;
import com.vaadin.ui.Button;
@@ -8,7 +8,7 @@ import com.vaadin.ui.CheckBox;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket846 extends Application {
+public class Ticket846 extends LegacyApplication {
@Override
public void init() {
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket932.java b/uitest/src/com/vaadin/tests/tickets/Ticket932.java
index 73ef8fbb01..66b5ba5cf5 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket932.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket932.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.tickets;
-import com.vaadin.Application;
+import com.vaadin.LegacyApplication;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Label;
@@ -8,7 +8,7 @@ import com.vaadin.ui.TextArea;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket932 extends Application {
+public class Ticket932 extends LegacyApplication {
@Override
public void init() {