Class CmsAppNavigator

java.lang.Object
com.vaadin.navigator.Navigator
org.opencms.ui.apps.CmsAppNavigator
All Implemented Interfaces:
Serializable

public class CmsAppNavigator extends com.vaadin.navigator.Navigator
Custom navigator subclass used to prevent "slash accumulation" in the URL fragment if the navigateTo(...) methods are called multiple names in the same navigation.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.navigator.Navigator

    com.vaadin.navigator.Navigator.ClassBasedViewProvider, com.vaadin.navigator.Navigator.ComponentContainerViewDisplay, com.vaadin.navigator.Navigator.EmptyView, com.vaadin.navigator.Navigator.PushStateManager, com.vaadin.navigator.Navigator.SingleComponentContainerViewDisplay, com.vaadin.navigator.Navigator.StaticViewProvider, com.vaadin.navigator.Navigator.UriFragmentManager
  • Field Summary

    Fields inherited from class com.vaadin.navigator.Navigator

    display, stateManager, ui
  • Constructor Summary

    Constructors
    Constructor
    Description
    CmsAppNavigator(com.vaadin.ui.UI ui, com.vaadin.navigator.NavigationStateManager stateManager, com.vaadin.navigator.ViewDisplay display)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    navigateTo(com.vaadin.navigator.View view, String viewName, String parameters)
     

    Methods inherited from class com.vaadin.navigator.Navigator

    addProvider, addView, addView, addViewChangeListener, beforeViewChange, createNavigationStateManager, destroy, fireAfterViewChange, fireBeforeViewChange, getCurrentNavigationState, getCurrentView, getDisplay, getState, getStateManager, getStateParameterMap, getStateParameterMap, getUI, getViewProvider, init, navigateTo, parseParameterStringToMap, parseStateParameterMap, performNavigateTo, removeProvider, removeView, removeViewChangeListener, revertNavigation, runAfterLeaveConfirmation, setErrorProvider, setErrorView, setErrorView, switchView, updateNavigationState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CmsAppNavigator

      public CmsAppNavigator(com.vaadin.ui.UI ui, com.vaadin.navigator.NavigationStateManager stateManager, com.vaadin.navigator.ViewDisplay display)
      Creates a new instance.

      Parameters:
      ui - the UI
      stateManager - the state manager
      display - the display
  • Method Details