com.vaadin.server
Class LegacyApplicationUIProvider

java.lang.Object
  extended by com.vaadin.server.UIProvider
      extended by com.vaadin.server.LegacyApplicationUIProvider
All Implemented Interfaces:
java.io.Serializable

Deprecated. As of 7.0. Used only to support LegacyApplication - will be removed when LegacyApplication support is removed.

@Deprecated
public abstract class LegacyApplicationUIProvider
extends UIProvider

Since:
7.0.0
Author:
Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
LegacyApplicationUIProvider()
          Deprecated.  
 
Method Summary
protected abstract  LegacyApplication createApplication()
          Deprecated.  
 UI createInstance(UICreateEvent event)
          Deprecated.  
 UI getExistingUI(UIClassSelectionEvent event)
          Deprecated. Hack used to return existing LegacyWindow instances without regard for out-of-sync problems.
 java.lang.String getPageTitle(UICreateEvent event)
          Deprecated.  
 java.lang.String getTheme(UICreateEvent event)
          Deprecated. Finds the theme to use for a specific UI.
 java.lang.Class<? extends UI> getUIClass(UIClassSelectionEvent event)
          Deprecated.  
 
Methods inherited from class com.vaadin.server.UIProvider
getAnnotationFor, getPushMode, getPushTransport, getWidgetset, isPreservedOnRefresh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyApplicationUIProvider

public LegacyApplicationUIProvider()
Deprecated. 
Method Detail

getUIClass

public java.lang.Class<? extends UI> getUIClass(UIClassSelectionEvent event)
Deprecated. 
Specified by:
getUIClass in class UIProvider

createInstance

public UI createInstance(UICreateEvent event)
Deprecated. 
Overrides:
createInstance in class UIProvider

getTheme

public java.lang.String getTheme(UICreateEvent event)
Deprecated. 
Description copied from class: UIProvider
Finds the theme to use for a specific UI. If no specific theme is required, null is returned.

The default implementation checks for a @Theme annotation on the UI class.

Overrides:
getTheme in class UIProvider
Parameters:
event - the UI create event with information about the UI and the current request.
Returns:
the name of the theme, or null if the default theme should be used

getPageTitle

public java.lang.String getPageTitle(UICreateEvent event)
Deprecated. 
Overrides:
getPageTitle in class UIProvider

getExistingUI

public UI getExistingUI(UIClassSelectionEvent event)
Deprecated. 
Hack used to return existing LegacyWindow instances without regard for out-of-sync problems.

Parameters:
event -
Returns:

createApplication

protected abstract LegacyApplication createApplication()
Deprecated. 


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.