Package io.jmix.tabbedmode
Class Views
java.lang.Object
io.jmix.tabbedmode.Views
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected classclassprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.context.ApplicationContextprotected final EntityStatesprotected final Messagesprotected final io.micrometer.core.instrument.MeterRegistrystatic final CloseActionprotected final Notificationsprotected final RouteSupportprotected final UiComponentsprotected final UiPropertiesprotected final ViewRegistry -
Constructor Summary
ConstructorsConstructorDescriptionViews(org.springframework.context.ApplicationContext applicationContext, ViewRegistry viewRegistry, UiComponents uiComponents, Notifications notifications, Messages messages, RouteSupport routeSupport, EntityStates entityStates, UiProperties uiProperties, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
Modifier and TypeMethodDescription<T extends View<?>>
TView<?>protected <V extends View<?>>
DialogWindow<V>createDialog(V view) protected <T extends View<?>>
TcreateInternal(Class<T> viewClass) protected voidcreateNewTabLayout(JmixUI ui, View<?> view) protected ViewBreadcrumbscom.vaadin.flow.component.Componentprotected voidfireViewBeforeShowEvent(View<?> view) protected voidfireViewOpenedEvent(View<?> view) protected voidfireViewReadyEvent(View<?> view) protected JmixUIcom.vaadin.flow.component.ComponentgetCurrentView(JmixUI ui) protected com.vaadin.flow.router.RouteConfigurationprotected Stream<Views.ViewStack>getTabbedViewsStacks(AppWorkArea workArea) protected TabViewContainergetTabWindowContainer(View<?> view) protected voidstatic booleanisAlreadyOpened(View<?> newView, View<?> openedView) protected booleanisCloseable(View<?> view) protected booleanisMaxTabCountExceeded(JmixUI ui, View<?> view, ViewOpenMode openMode) protected voidopen(View<?> view, ViewOpenMode openMode) open(JmixUI ui, View<?> view, ViewOpenMode openMode) protected voidopenDialogWindow(JmixUI ui, View<?> view) openFromNavigation(View<?> view, ViewOpenMode openMode) openFromNavigation(JmixUI ui, View<?> view, ViewOpenMode openMode) protected voidopenNewTab(JmixUI ui, View<?> view) protected voidopenRootView(JmixUI ui, View<?> rootView) protected voidopenThisTab(JmixUI ui, View<?> view) protected voidremoveNewTabView(JmixUI ui, View<?> view) protected voidremoveThisTabView(JmixUI ui, View<?> view) protected com.vaadin.flow.router.LocationresolveLocation(View<?> view) protected voidprotected voidupdatePageTitle(JmixUI ui, View<?> view) protected void
-
Field Details
-
NAVIGATION_CLOSE_ACTION
-
applicationContext
protected final org.springframework.context.ApplicationContext applicationContext -
viewRegistry
-
uiComponents
-
notifications
-
messages
-
routeSupport
-
entityStates
-
uiProperties
-
meterRegistry
protected final io.micrometer.core.instrument.MeterRegistry meterRegistry
-
-
Constructor Details
-
Method Details
-
create
-
create
-
createInternal
-
open
-
getCurrentUI
-
open
-
updatePageTitle
-
updateUrl
-
resolveLocation
-
getRouteConfiguration
protected com.vaadin.flow.router.RouteConfiguration getRouteConfiguration() -
openRootView
-
openDialogWindow
-
createDialog
-
openThisTab
-
removeThisTabView
-
openNewTab
-
removeNewTabView
-
getTabWindowContainer
-
createNewTabLayout
-
handleViewTabClose
-
getLoginViewId
-
getMainViewId
-
isCloseable
-
createViewBreadCrumbs
-
getConfiguredWorkAreaOptional
-
getConfiguredWorkArea
-
getTabbedViewsStacks
-
getOpenedViews
-
getCurrentView
-
findCurrentView
-
fireViewBeforeShowEvent
-
fireViewReadyEvent
-
fireViewOpenedEvent
-
isMaxTabCountExceeded
-
showTooManyOpenTabsMessage
protected void showTooManyOpenTabsMessage() -
isAlreadyOpened
-