Package io.jmix.tabbedmode
Class Views
java.lang.Object
io.jmix.tabbedmode.Views
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
protected class
class
protected static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.context.ApplicationContext
protected final EntityStates
protected final Messages
protected final io.micrometer.core.instrument.MeterRegistry
static final CloseAction
protected final Notifications
protected final RouteSupport
protected final UiComponents
protected final UiProperties
protected 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 void
createNewTabLayout
(JmixUI ui, View<?> view) protected ViewBreadcrumbs
com.vaadin.flow.component.Component
protected void
fireViewBeforeShowEvent
(View<?> view) protected void
fireViewOpenedEvent
(View<?> view) protected void
fireViewReadyEvent
(View<?> view) protected JmixUI
com.vaadin.flow.component.Component
getCurrentView
(JmixUI ui) protected com.vaadin.flow.router.RouteConfiguration
protected Stream<Views.ViewStack>
getTabbedViewsStacks
(AppWorkArea workArea) protected TabViewContainer
getTabWindowContainer
(View<?> view) protected void
static boolean
isAlreadyOpened
(View<?> newView, View<?> openedView) protected boolean
isCloseable
(View<?> view) protected boolean
isMaxTabCountExceeded
(JmixUI ui, View<?> view, ViewOpenMode openMode) protected void
open
(View<?> view, ViewOpenMode openMode) open
(JmixUI ui, View<?> view, ViewOpenMode openMode) protected void
openDialogWindow
(JmixUI ui, View<?> view) openFromNavigation
(View<?> view, ViewOpenMode openMode) openFromNavigation
(JmixUI ui, View<?> view, ViewOpenMode openMode) protected void
openNewTab
(JmixUI ui, View<?> view) protected void
openRootView
(JmixUI ui, View<?> rootView) protected void
openThisTab
(JmixUI ui, View<?> view) protected void
removeNewTabView
(JmixUI ui, View<?> view) protected void
removeThisTabView
(JmixUI ui, View<?> view) protected com.vaadin.flow.router.Location
resolveLocation
(View<?> view) protected void
protected void
updatePageTitle
(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
-