com.vaadin.server.

Class LegacyApplicationUIProvider

  • All Implemented Interfaces:

    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 Detail

      • LegacyApplicationUIProvider

        public LegacyApplicationUIProvider()

        Deprecated. 

    • Method Detail

      • getTheme

        public 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

      • 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.