Class Views

java.lang.Object
io.jmix.tabbedmode.Views

@Component("tabmod_Views") public class Views extends Object
  • Field Details

    • applicationContext

      protected final org.springframework.context.ApplicationContext applicationContext
    • viewRegistry

      protected final ViewRegistry viewRegistry
    • uiComponents

      protected final UiComponents uiComponents
    • notifications

      protected final Notifications notifications
    • messages

      protected final Messages messages
    • routeSupport

      protected final RouteSupport routeSupport
    • entityStates

      protected final EntityStates entityStates
    • uiProperties

      protected final UiProperties uiProperties
    • meterRegistry

      protected final io.micrometer.core.instrument.MeterRegistry meterRegistry
  • Constructor Details

  • Method Details

    • create

      public View<?> create(String viewId)
    • create

      public <T extends View<?>> T create(Class<T> viewClass)
    • createInternal

      protected <T extends View<?>> T createInternal(Class<T> viewClass)
    • open

      public OperationResult open(View<?> view, ViewOpenMode openMode)
    • getCurrentUI

      protected JmixUI getCurrentUI()
    • open

      public OperationResult open(JmixUI ui, View<?> view, ViewOpenMode openMode)
    • updatePageTitle

      protected void updatePageTitle(JmixUI ui, View<?> view)
    • updateUrl

      protected void updateUrl(JmixUI ui, com.vaadin.flow.router.Location newLocation)
    • resolveLocation

      protected com.vaadin.flow.router.Location resolveLocation(View<?> view)
    • getRouteConfiguration

      protected com.vaadin.flow.router.RouteConfiguration getRouteConfiguration()
    • openFromNavigation

      public OperationResult openFromNavigation(View<?> view, ViewOpenMode openMode)
    • openFromNavigation

      public OperationResult openFromNavigation(JmixUI ui, View<?> view, ViewOpenMode openMode)
    • openRootView

      protected void openRootView(JmixUI ui, View<?> rootView)
    • openDialogWindow

      protected void openDialogWindow(JmixUI ui, View<?> view)
    • createDialog

      protected <V extends View<?>> DialogWindow<V> createDialog(V view)
    • openThisTab

      protected void openThisTab(JmixUI ui, View<?> view)
    • removeThisTabView

      protected void removeThisTabView(JmixUI ui, View<?> view)
    • openNewTab

      protected void openNewTab(JmixUI ui, View<?> view)
    • removeNewTabView

      protected void removeNewTabView(JmixUI ui, View<?> view)
    • getTabWindowContainer

      protected TabViewContainer getTabWindowContainer(View<?> view)
    • createNewTabLayout

      protected void createNewTabLayout(JmixUI ui, View<?> view)
    • handleViewTabClose

      protected void handleViewTabClose(JmixViewTab.BeforeCloseEvent<JmixViewTab> event)
    • getLoginViewId

      public String getLoginViewId()
    • getMainViewId

      public String getMainViewId()
    • isCloseable

      protected boolean isCloseable(View<?> view)
    • onBreadcrumbsNavigate

      protected void onBreadcrumbsNavigate(ViewBreadcrumbs.BreadcrumbsNavigationContext context)
    • createViewBreadCrumbs

      protected ViewBreadcrumbs createViewBreadCrumbs()
    • getConfiguredWorkAreaOptional

      public Optional<AppWorkArea> getConfiguredWorkAreaOptional(JmixUI ui)
    • getConfiguredWorkArea

      public AppWorkArea getConfiguredWorkArea(JmixUI ui)
    • getTabbedViewsStacks

      protected Stream<Views.ViewStack> getTabbedViewsStacks(AppWorkArea workArea)
    • getOpenedViews

      public Views.OpenedViews getOpenedViews()
    • getCurrentView

      public com.vaadin.flow.component.Component getCurrentView(JmixUI ui)
    • findCurrentView

      @Nullable public com.vaadin.flow.component.Component findCurrentView(JmixUI ui)
    • fireViewBeforeShowEvent

      protected void fireViewBeforeShowEvent(View<?> view)
    • fireViewReadyEvent

      protected void fireViewReadyEvent(View<?> view)
    • fireViewOpenedEvent

      protected void fireViewOpenedEvent(View<?> view)
    • isMaxTabCountExceeded

      protected boolean isMaxTabCountExceeded(JmixUI ui, View<?> view, ViewOpenMode openMode)
    • showTooManyOpenTabsMessage

      protected void showTooManyOpenTabsMessage()
    • isAlreadyOpened

      public static boolean isAlreadyOpened(View<?> newView, View<?> openedView)