+++ /dev/null
-/*
- * Copyright 2011 Vaadin Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-
-package com.vaadin;
-
-import java.net.URL;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Map.Entry;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import com.vaadin.server.AbstractUIProvider;
-import com.vaadin.server.Terminal.ErrorEvent;
-import com.vaadin.server.Terminal.ErrorListener;
-import com.vaadin.server.VaadinSession;
-import com.vaadin.server.WrappedRequest;
-import com.vaadin.ui.UI;
-
-/**
- * A special application designed to help migrating applications from Vaadin 6
- * to Vaadin 7. The legacy application supports setting a main window, adding
- * additional browser level windows and defining the theme for the entire
- * application.
- *
- * @deprecated This class is only intended to ease migration and should not be
- * used for new projects.
- *
- * @since 7.0
- */
-@Deprecated
-public abstract class Application extends AbstractUIProvider implements
- ErrorListener {
- /**
- * Ignore initial / and then get everything up to the next /
- */
- private static final Pattern WINDOW_NAME_PATTERN = Pattern
- .compile("^/?([^/]+).*");
-
- private UI.LegacyWindow mainWindow;
- private String theme;
-
- private Map<String, UI.LegacyWindow> legacyUINames = new HashMap<String, UI.LegacyWindow>();
-
- /**
- * Sets the main window of this application. Setting window as a main window
- * of this application also adds the window to this application.
- *
- * @param mainWindow
- * the UI to set as the default window
- */
- public void setMainWindow(UI.LegacyWindow mainWindow) {
- if (this.mainWindow != null) {
- throw new IllegalStateException("mainWindow has already been set");
- }
- if (mainWindow.getSession() == null) {
- mainWindow.setSession(VaadinSession.getCurrent());
- } else if (mainWindow.getSession() != VaadinSession.getCurrent()) {
- throw new IllegalStateException(
- "mainWindow is attached to another application");
- }
- if (UI.getCurrent() == null) {
- // Assume setting a main window from Application.init if there's
- // no current UI -> set the main window as the current UI
- UI.setCurrent(mainWindow);
- }
- mainWindow.setApplication(this);
- this.mainWindow = mainWindow;
- }
-
- public void doInit() {
- VaadinSession.getCurrent().setErrorHandler(this);
- init();
- }
-
- protected abstract void init();
-
- @Override
- public Class<? extends UI> getUIClass(WrappedRequest request) {
- UI uiInstance = getUIInstance(request);
- if (uiInstance != null) {
- return uiInstance.getClass();
- }
- return null;
- }
-
- @Override
- public UI createInstance(Class<? extends UI> type, WrappedRequest request) {
- return getUIInstance(request);
- }
-
- @Override
- public String getThemeForUI(WrappedRequest request,
- Class<? extends UI> uiClass) {
- return theme;
- }
-
- @Override
- public String getPageTitleForUI(WrappedRequest request,
- Class<? extends UI> uiClass) {
- UI uiInstance = getUIInstance(request);
- if (uiInstance != null) {
- return uiInstance.getCaption();
- } else {
- return super.getPageTitleForUI(request, uiClass);
- }
- }
-
- /**
- * Gets the mainWindow of the application.
- *
- * <p>
- * The main window is the window attached to the application URL (
- * {@link #getURL()}) and thus which is show by default to the user.
- * </p>
- * <p>
- * Note that each application must have at least one main window.
- * </p>
- *
- * @return the UI used as the default window
- */
- public UI.LegacyWindow getMainWindow() {
- return mainWindow;
- }
-
- private UI getUIInstance(WrappedRequest request) {
- String pathInfo = request.getRequestPathInfo();
- String name = null;
- if (pathInfo != null && pathInfo.length() > 0) {
- Matcher matcher = WINDOW_NAME_PATTERN.matcher(pathInfo);
- if (matcher.matches()) {
- // Skip the initial slash
- name = matcher.group(1);
- }
- }
- UI.LegacyWindow window = getWindow(name);
- if (window != null) {
- return window;
- }
- return mainWindow;
- }
-
- /**
- * This implementation simulates the way of finding a window for a request
- * by extracting a window name from the requested path and passes that name
- * to {@link #getWindow(String)}.
- * <p>
- * {@inheritDoc}
- */
- @Override
- public UI getExistingUI(WrappedRequest request) {
- UI uiInstance = getUIInstance(request);
- if (uiInstance.getUIId() == -1) {
- // Not initialized -> Let go through createUIInstance to make it
- // initialized
- return null;
- } else {
- UI.setCurrent(uiInstance);
- return uiInstance;
- }
- }
-
- /**
- * Sets the application's theme.
- * <p>
- * Note that this theme can be overridden for a specific UI with
- * {@link VaadinSession#getThemeForUI(UI)}. Setting theme to be
- * <code>null</code> selects the default theme. For the available theme
- * names, see the contents of the VAADIN/themes directory.
- * </p>
- *
- * @param theme
- * the new theme for this application.
- */
- public void setTheme(String theme) {
- this.theme = theme;
- }
-
- /**
- * Gets the application's theme. The application's theme is the default
- * theme used by all the uIs for which a theme is not explicitly defined. If
- * the application theme is not explicitly set, <code>null</code> is
- * returned.
- *
- * @return the name of the application's theme.
- */
- public String getTheme() {
- return theme;
- }
-
- /**
- * <p>
- * Gets a UI by name. Returns <code>null</code> if the application is not
- * running or it does not contain a window corresponding to the name.
- * </p>
- *
- * @param name
- * the name of the requested window
- * @return a UI corresponding to the name, or <code>null</code> to use the
- * default window
- */
- public UI.LegacyWindow getWindow(String name) {
- return legacyUINames.get(name);
- }
-
- /**
- * Counter to get unique names for windows with no explicit name
- */
- private int namelessUIIndex = 0;
-
- /**
- * Adds a new browser level window to this application. Please note that UI
- * doesn't have a name that is used in the URL - to add a named window you
- * should instead use {@link #addWindow(UI, String)}
- *
- * @param uI
- * the UI window to add to the application
- * @return returns the name that has been assigned to the window
- *
- * @see #addWindow(UI, String)
- */
- public void addWindow(UI.LegacyWindow uI) {
- if (uI.getName() == null) {
- String name = Integer.toString(namelessUIIndex++);
- uI.setName(name);
- }
-
- uI.setApplication(this);
-
- legacyUINames.put(uI.getName(), uI);
- uI.setSession(VaadinSession.getCurrent());
- }
-
- /**
- * Removes the specified window from the application. This also removes all
- * name mappings for the window (see {@link #addWindow(UI, String) and
- * #getWindowName(UI)}.
- *
- * <p>
- * Note that removing window from the application does not close the browser
- * window - the window is only removed from the server-side.
- * </p>
- *
- * @param uI
- * the UI to remove
- */
- public void removeWindow(UI.LegacyWindow uI) {
- for (Entry<String, UI.LegacyWindow> entry : legacyUINames.entrySet()) {
- if (entry.getValue() == uI) {
- legacyUINames.remove(entry.getKey());
- }
- }
- }
-
- /**
- * Gets the set of windows contained by the application.
- *
- * <p>
- * Note that the returned set of windows can not be modified.
- * </p>
- *
- * @return the unmodifiable collection of windows.
- */
- public Collection<UI.LegacyWindow> getWindows() {
- return Collections.unmodifiableCollection(legacyUINames.values());
- }
-
- @Override
- public void terminalError(ErrorEvent event) {
- VaadinSession.getCurrent().getErrorHandler().terminalError(event);
- }
-
- public VaadinSession getContext() {
- return VaadinSession.getCurrent();
- }
-
- protected void close() {
- VaadinSession.getCurrent().close();
- }
-
- public boolean isRunning() {
- return VaadinSession.getCurrent().isRunning();
- }
-
- public URL getURL() {
- return VaadinSession.getCurrent().getURL();
- }
-}
\ No newline at end of file
--- /dev/null
+/*
+ * Copyright 2011 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+package com.vaadin;
+
+import java.net.URL;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Map.Entry;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import com.vaadin.server.AbstractUIProvider;
+import com.vaadin.server.Terminal.ErrorEvent;
+import com.vaadin.server.Terminal.ErrorListener;
+import com.vaadin.server.VaadinSession;
+import com.vaadin.server.WrappedRequest;
+import com.vaadin.ui.UI;
+
+/**
+ * A special application designed to help migrating applications from Vaadin 6
+ * to Vaadin 7. The legacy application supports setting a main window, adding
+ * additional browser level windows and defining the theme for the entire
+ * application.
+ *
+ * @deprecated This class is only intended to ease migration and should not be
+ * used for new projects.
+ *
+ * @since 7.0
+ */
+@Deprecated
+public abstract class LegacyApplication extends AbstractUIProvider implements
+ ErrorListener {
+ /**
+ * Ignore initial / and then get everything up to the next /
+ */
+ private static final Pattern WINDOW_NAME_PATTERN = Pattern
+ .compile("^/?([^/]+).*");
+
+ private UI.LegacyWindow mainWindow;
+ private String theme;
+
+ private Map<String, UI.LegacyWindow> legacyUINames = new HashMap<String, UI.LegacyWindow>();
+
+ /**
+ * Sets the main window of this application. Setting window as a main window
+ * of this application also adds the window to this application.
+ *
+ * @param mainWindow
+ * the UI to set as the default window
+ */
+ public void setMainWindow(UI.LegacyWindow mainWindow) {
+ if (this.mainWindow != null) {
+ throw new IllegalStateException("mainWindow has already been set");
+ }
+ if (mainWindow.getSession() == null) {
+ mainWindow.setSession(VaadinSession.getCurrent());
+ } else if (mainWindow.getSession() != VaadinSession.getCurrent()) {
+ throw new IllegalStateException(
+ "mainWindow is attached to another application");
+ }
+ if (UI.getCurrent() == null) {
+ // Assume setting a main window from Application.init if there's
+ // no current UI -> set the main window as the current UI
+ UI.setCurrent(mainWindow);
+ }
+ mainWindow.setApplication(this);
+ this.mainWindow = mainWindow;
+ }
+
+ public void doInit() {
+ VaadinSession.getCurrent().setErrorHandler(this);
+ init();
+ }
+
+ protected abstract void init();
+
+ @Override
+ public Class<? extends UI> getUIClass(WrappedRequest request) {
+ UI uiInstance = getUIInstance(request);
+ if (uiInstance != null) {
+ return uiInstance.getClass();
+ }
+ return null;
+ }
+
+ @Override
+ public UI createInstance(Class<? extends UI> type, WrappedRequest request) {
+ return getUIInstance(request);
+ }
+
+ @Override
+ public String getThemeForUI(WrappedRequest request,
+ Class<? extends UI> uiClass) {
+ return theme;
+ }
+
+ @Override
+ public String getPageTitleForUI(WrappedRequest request,
+ Class<? extends UI> uiClass) {
+ UI uiInstance = getUIInstance(request);
+ if (uiInstance != null) {
+ return uiInstance.getCaption();
+ } else {
+ return super.getPageTitleForUI(request, uiClass);
+ }
+ }
+
+ /**
+ * Gets the mainWindow of the application.
+ *
+ * <p>
+ * The main window is the window attached to the application URL (
+ * {@link #getURL()}) and thus which is show by default to the user.
+ * </p>
+ * <p>
+ * Note that each application must have at least one main window.
+ * </p>
+ *
+ * @return the UI used as the default window
+ */
+ public UI.LegacyWindow getMainWindow() {
+ return mainWindow;
+ }
+
+ private UI getUIInstance(WrappedRequest request) {
+ String pathInfo = request.getRequestPathInfo();
+ String name = null;
+ if (pathInfo != null && pathInfo.length() > 0) {
+ Matcher matcher = WINDOW_NAME_PATTERN.matcher(pathInfo);
+ if (matcher.matches()) {
+ // Skip the initial slash
+ name = matcher.group(1);
+ }
+ }
+ UI.LegacyWindow window = getWindow(name);
+ if (window != null) {
+ return window;
+ }
+ return mainWindow;
+ }
+
+ /**
+ * This implementation simulates the way of finding a window for a request
+ * by extracting a window name from the requested path and passes that name
+ * to {@link #getWindow(String)}.
+ * <p>
+ * {@inheritDoc}
+ */
+ @Override
+ public UI getExistingUI(WrappedRequest request) {
+ UI uiInstance = getUIInstance(request);
+ if (uiInstance.getUIId() == -1) {
+ // Not initialized -> Let go through createUIInstance to make it
+ // initialized
+ return null;
+ } else {
+ UI.setCurrent(uiInstance);
+ return uiInstance;
+ }
+ }
+
+ /**
+ * Sets the application's theme.
+ * <p>
+ * Note that this theme can be overridden for a specific UI with
+ * {@link VaadinSession#getThemeForUI(UI)}. Setting theme to be
+ * <code>null</code> selects the default theme. For the available theme
+ * names, see the contents of the VAADIN/themes directory.
+ * </p>
+ *
+ * @param theme
+ * the new theme for this application.
+ */
+ public void setTheme(String theme) {
+ this.theme = theme;
+ }
+
+ /**
+ * Gets the application's theme. The application's theme is the default
+ * theme used by all the uIs for which a theme is not explicitly defined. If
+ * the application theme is not explicitly set, <code>null</code> is
+ * returned.
+ *
+ * @return the name of the application's theme.
+ */
+ public String getTheme() {
+ return theme;
+ }
+
+ /**
+ * <p>
+ * Gets a UI by name. Returns <code>null</code> if the application is not
+ * running or it does not contain a window corresponding to the name.
+ * </p>
+ *
+ * @param name
+ * the name of the requested window
+ * @return a UI corresponding to the name, or <code>null</code> to use the
+ * default window
+ */
+ public UI.LegacyWindow getWindow(String name) {
+ return legacyUINames.get(name);
+ }
+
+ /**
+ * Counter to get unique names for windows with no explicit name
+ */
+ private int namelessUIIndex = 0;
+
+ /**
+ * Adds a new browser level window to this application. Please note that UI
+ * doesn't have a name that is used in the URL - to add a named window you
+ * should instead use {@link #addWindow(UI, String)}
+ *
+ * @param uI
+ * the UI window to add to the application
+ * @return returns the name that has been assigned to the window
+ *
+ * @see #addWindow(UI, String)
+ */
+ public void addWindow(UI.LegacyWindow uI) {
+ if (uI.getName() == null) {
+ String name = Integer.toString(namelessUIIndex++);
+ uI.setName(name);
+ }
+
+ uI.setApplication(this);
+
+ legacyUINames.put(uI.getName(), uI);
+ uI.setSession(VaadinSession.getCurrent());
+ }
+
+ /**
+ * Removes the specified window from the application. This also removes all
+ * name mappings for the window (see {@link #addWindow(UI, String) and
+ * #getWindowName(UI)}.
+ *
+ * <p>
+ * Note that removing window from the application does not close the browser
+ * window - the window is only removed from the server-side.
+ * </p>
+ *
+ * @param uI
+ * the UI to remove
+ */
+ public void removeWindow(UI.LegacyWindow uI) {
+ for (Entry<String, UI.LegacyWindow> entry : legacyUINames.entrySet()) {
+ if (entry.getValue() == uI) {
+ legacyUINames.remove(entry.getKey());
+ }
+ }
+ }
+
+ /**
+ * Gets the set of windows contained by the application.
+ *
+ * <p>
+ * Note that the returned set of windows can not be modified.
+ * </p>
+ *
+ * @return the unmodifiable collection of windows.
+ */
+ public Collection<UI.LegacyWindow> getWindows() {
+ return Collections.unmodifiableCollection(legacyUINames.values());
+ }
+
+ @Override
+ public void terminalError(ErrorEvent event) {
+ VaadinSession.getCurrent().getErrorHandler().terminalError(event);
+ }
+
+ public VaadinSession getContext() {
+ return VaadinSession.getCurrent();
+ }
+
+ protected void close() {
+ VaadinSession.getCurrent().close();
+ }
+
+ public boolean isRunning() {
+ return VaadinSession.getCurrent().isRunning();
+ }
+
+ public URL getURL() {
+ return VaadinSession.getCurrent().getURL();
+ }
+}
\ No newline at end of file
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
}
}
- 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);
// 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);
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
}
}
- 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);
// 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);
}
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;
}
}
- static Class<? extends Application> getLegacyApplicationClass(
+ static Class<? extends LegacyApplication> getLegacyApplicationClass(
VaadinService vaadinService) throws ApplicationClassException {
Properties initParameters = vaadinService.getDeploymentConfiguration()
.getInitParameters();
try {
return classLoader.loadClass(applicationParameter).asSubclass(
- Application.class);
+ LegacyApplication.class);
} catch (final ClassNotFoundException e) {
throw new ApplicationClassException(
"Failed to load application class: " + applicationParameter,
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;
/**
* 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
// Just empty
}
- public void setApplication(Application application) {
+ public void setApplication(LegacyApplication application) {
this.application = application;
}
- public Application getApplication() {
+ public LegacyApplication getApplication() {
return application;
}
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() {
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;
}
@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);
}
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());
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;
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>();
* @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;
* @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.
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 {
* @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;
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;
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");
*
* @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();
* @author Vaadin Ltd.
*
*/
-public class RandomLayoutStress extends com.vaadin.Application {
+public class RandomLayoutStress extends com.vaadin.LegacyApplication {
private final Random seededRandom = new Random(1);
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;
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");
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;
* @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
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);
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;
import com.vaadin.ui.VerticalSplitPanel;
public class TestForApplicationLayoutThatUsesWholeBrosersSpace extends
- Application {
+ LegacyApplication {
LegacyWindow main = new LegacyWindow("Windowing test");
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;
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");
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;
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 {
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");
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;
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;
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();
* @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
* @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
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();
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;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class GAESyncTest extends Application {
+public class GAESyncTest extends LegacyApplication {
/**
*
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");
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();
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;
import com.vaadin.ui.VerticalLayout;
@SuppressWarnings("serial")
-public class ComboBoxReapperingOldValue extends Application implements
+public class ComboBoxReapperingOldValue extends LegacyApplication implements
ValueChangeListener {
ComboBox cbox1 = new ComboBox();
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;
import com.vaadin.ui.UI.LegacyWindow;
@SuppressWarnings("serial")
-public class UndefinedWideFormWithRelativeWideFooter extends Application {
+public class UndefinedWideFormWithRelativeWideFooter extends LegacyApplication {
@Override
public void init() {
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() {
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;
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() {
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;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class TableFirstRowFlicker extends Application {
+public class TableFirstRowFlicker extends LegacyApplication {
Table t;
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;
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() {
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;
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;
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;
/**
* See http://dev.vaadin.com/ticket/9155 .
*/
-public class ComboBoxUpdateProblem extends Application {
+public class ComboBoxUpdateProblem extends LegacyApplication {
private final DatabaseHelper databaseHelper = new DatabaseHelper();
@Override
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;
// +-------------+-------------+------+-----+---------+----------------+
@SuppressWarnings("serial")
-public class MassInsertMemoryLeakTestApp extends Application {
+public class MassInsertMemoryLeakTestApp extends LegacyApplication {
ProgressIndicator proggress = new ProgressIndicator();
Button process = new Button("Mass insert");
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;
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() {
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;
/**
* 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 {
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;
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);
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;
*
* See ticket #5521.
*/
-public class PortletSizeInLiferayFreeformLayoutApplication extends Application {
+public class PortletSizeInLiferayFreeformLayoutApplication extends LegacyApplication {
@Override
public void init() {
LegacyWindow mainWindow = new LegacyWindow("Portlet5521 Application");
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;
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;
private AbstractComponent rc1, col1, col2, col3, row1, row2, row3, x3, x22;
- public GridLayoutTests(Application application) {
+ public GridLayoutTests(LegacyApplication application) {
super();
}
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;
public class HorizontalLayoutTests extends AbstractLayoutTests {
- public HorizontalLayoutTests(Application application) {
+ public HorizontalLayoutTests(LegacyApplication application) {
super();
}
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;
public class VerticalLayoutTests extends AbstractLayoutTests {
- public VerticalLayoutTests(Application application) {
+ public VerticalLayoutTests(LegacyApplication application) {
super();
}
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");
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;
* 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() {
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;
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();
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;
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;
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();
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();
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;
/**
*/
-public class Ticket1368 extends Application {
+public class Ticket1368 extends LegacyApplication {
private Table t;
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;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket1397 extends Application {
+public class Ticket1397 extends LegacyApplication {
LegacyWindow main;
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;
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;
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() {
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;
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() {
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() {
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;
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;
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;
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() {
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");
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;
/**
*/
-public class Ticket161 extends Application {
+public class Ticket161 extends LegacyApplication {
private Table t;
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;
/**
*/
-public class Ticket1632 extends Application {
+public class Ticket1632 extends LegacyApplication {
private Table t;
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() {
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() {
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() {
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() {
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;
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
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() {
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() {
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() {
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>();
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() {
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() {
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>();
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>();
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;
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;
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() {
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() {
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() {
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;
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;
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");
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;
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() {
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() {
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;
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;
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;
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;
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() {
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() {
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() {
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";
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;
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() {
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;
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() {
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;
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() {
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() {
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() {
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() {
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();
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;
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();
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;
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;
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;
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>();
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;
/**
* Test class for ticket 1983
*/
-public class Ticket1983 extends Application {
+public class Ticket1983 extends LegacyApplication {
@Override
public void init() {
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;
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() {
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() {
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;
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;
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;
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() {
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;
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() {
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);
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;
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();
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() {
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;
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;
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;
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;
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() {
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();
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() {
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() {
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;
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;
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() {
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;
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() {
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();
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;
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() {
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() {
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;
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;
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;
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();
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;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2053 extends Application {
+public class Ticket2053 extends LegacyApplication {
int childs = 0;
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;
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;
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;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2061 extends Application {
+public class Ticket2061 extends LegacyApplication {
private LegacyWindow mainWindow;
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;
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;
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;
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;
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
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() {
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;
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();
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() {
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";
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;
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;
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() {
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;
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
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;
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)",
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;
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 {
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 Ticket2107 extends Application {
+public class Ticket2107 extends LegacyApplication {
@Override
public void init() {
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;
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() {
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;
/**
* Test case for Ticket 2119.
*/
-public class Ticket2119 extends Application {
+public class Ticket2119 extends LegacyApplication {
private ObjectProperty<String> globalValue;
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;
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() {
* client.
*
*/
-public class Ticket2126 extends com.vaadin.Application {
+public class Ticket2126 extends com.vaadin.LegacyApplication {
LegacyWindow main = new LegacyWindow();
Table table = new Table();
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;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2151 extends Application {
+public class Ticket2151 extends LegacyApplication {
private Label status;
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() {
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() {
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");
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;
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;
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();
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;
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() {
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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() {
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;
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() {
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;
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() {
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;
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() {
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() {
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;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2232 extends Application {
+public class Ticket2232 extends LegacyApplication {
@Override
public void init() {
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() {
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() {
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"
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;
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;
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;
import com.vaadin.ui.Label;
import com.vaadin.ui.UI.LegacyWindow;
-public class Ticket2244 extends Application {
+public class Ticket2244 extends LegacyApplication {
Form form;
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() {
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;
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");
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() {
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;
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() {
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;
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;
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
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() {
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() {
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() {
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() {
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;
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() {
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;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.VerticalSplitPanel;
-public class Ticket2319 extends Application {
+public class Ticket2319 extends LegacyApplication {
@Override
public void init() {
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() {
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() {
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;
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;
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);
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() {
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();
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() {
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;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.ui.VerticalLayout;
-public class Ticket2347 extends Application {
+public class Ticket2347 extends LegacyApplication {
private Button b1;
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() {
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() {
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() {
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() {
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;
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;
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;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
-public class Ticket2406 extends Application {
+public class Ticket2406 extends LegacyApplication {
private Window w;
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() {
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() {
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() {
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() {
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() {
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() {
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;
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() {
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;
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() {
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() {
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() {
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() {
*/
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;
* @author Risto Yrjänä / Vaadin Ltd.
*
*/
-public class Ticket2742 extends Application {
+public class Ticket2742 extends LegacyApplication {
/*
* (non-Javadoc)
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;
* 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() {
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;
*
* Other browsers are much faster.
*/
-public class Ticket2998 extends Application {
+public class Ticket2998 extends LegacyApplication {
private Table table;
private VerticalLayout mainLayout;
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;
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;
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;
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() {
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;
* 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() {
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() {
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;
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"
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() {
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;
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();
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;
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() {
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;
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() {