@Deprecated public final class CubaScreens extends io.jmix.ui.sys.ScreensImpl implements Screens, WindowManager
io.jmix.ui.sys.ScreensImpl.OpenedScreensImpl, io.jmix.ui.sys.ScreensImpl.ScreenOpenDetails, io.jmix.ui.sys.ScreensImpl.TabCloseTask, io.jmix.ui.sys.ScreensImpl.TabWindowContainerImpl, io.jmix.ui.sys.ScreensImpl.WindowStackImplScreens.LaunchModeio.jmix.ui.Screens.OpenedScreens, io.jmix.ui.Screens.WindowStackWindowManager.OpenType| Modifier and Type | Field and Description |
|---|---|
protected UiComponents |
cubaUiComponents
Deprecated.
|
protected DataSupplier |
defaultDataSupplier
Deprecated.
|
protected io.jmix.ui.Facets |
facets
Deprecated.
|
protected ScreenViewsLoader |
screenViewsLoader
Deprecated.
|
protected io.jmix.ui.sys.ScreenXmlLoader |
screenXmlLoader
Deprecated.
|
| Constructor and Description |
|---|
CubaScreens()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyOpenTypeParameters(io.jmix.ui.component.Window window,
WindowManager.OpenType openType)
Deprecated.
|
void |
close(io.jmix.ui.component.Window window)
Deprecated.
Closes a given window.
|
protected io.jmix.ui.Notifications.NotificationType |
convertNotificationType(Frame.NotificationType type)
Deprecated.
|
protected io.jmix.ui.xml.layout.loader.ComponentLoaderContext |
createComponentLoaderContext(io.jmix.ui.screen.ScreenOptions options)
Deprecated.
|
protected io.jmix.ui.component.DialogWindow |
createDialogWindow(io.jmix.ui.WindowInfo windowInfo)
Deprecated.
|
io.jmix.ui.screen.Screen |
createEditor(io.jmix.ui.WindowInfo windowInfo,
io.jmix.core.Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
protected io.jmix.ui.component.RootWindow |
createRootWindow(io.jmix.ui.WindowInfo windowInfo)
Deprecated.
|
protected io.jmix.ui.component.TabWindow |
createTabWindow(io.jmix.ui.WindowInfo windowInfo)
Deprecated.
|
protected io.jmix.ui.sys.WindowContextImpl |
createWindowContext(io.jmix.ui.component.Window window,
io.jmix.ui.sys.ScreensImpl.ScreenOpenDetails openDetails)
Deprecated.
|
protected void |
findMessageGroup(org.dom4j.Element element,
java.lang.String descriptorPath,
io.jmix.ui.xml.layout.loader.ComponentLoaderContext componentLoaderContext)
Deprecated.
|
protected void |
fireScreenAfterShowEvent(io.jmix.ui.screen.FrameOwner frameOwner,
java.lang.Class<io.jmix.ui.screen.Screen.AfterShowEvent> eventType,
io.jmix.ui.screen.Screen.AfterShowEvent event)
Deprecated.
|
protected void |
fireScreenBeforeShowEvent(io.jmix.ui.screen.FrameOwner frameOwner,
java.lang.Class<io.jmix.ui.screen.Screen.BeforeShowEvent> eventType,
io.jmix.ui.screen.Screen.BeforeShowEvent event)
Deprecated.
|
protected void |
fireScreenInitEvent(io.jmix.ui.screen.FrameOwner frameOwner,
java.lang.Class<io.jmix.ui.screen.Screen.InitEvent> eventType,
io.jmix.ui.screen.Screen.InitEvent event)
Deprecated.
|
java.util.Collection<io.jmix.ui.component.Window> |
getOpenWindows()
Deprecated.
|
protected Settings |
getSettingsImpl(java.lang.String id)
Deprecated.
|
protected void |
initDatasources(io.jmix.ui.component.Window window,
DsContext dsContext,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
protected void |
initDsContext(io.jmix.ui.screen.Screen screen,
org.dom4j.Element screenDescriptor,
io.jmix.ui.xml.layout.loader.ComponentLoaderContext context)
Deprecated.
|
protected boolean |
isCubaScreen(io.jmix.ui.WindowInfo windowInfo)
Deprecated.
|
protected DsContext |
loadDsContext(org.dom4j.Element element)
Deprecated.
|
protected <T extends io.jmix.ui.screen.Screen> |
loadWindowFromXml(org.dom4j.Element element,
io.jmix.ui.WindowInfo windowInfo,
io.jmix.ui.component.Window window,
T controller,
io.jmix.ui.xml.layout.loader.ComponentLoaderContext componentLoaderContext)
Deprecated.
|
Window.Editor |
openEditor(io.jmix.ui.WindowInfo windowInfo,
io.jmix.core.Entity item,
WindowManager.OpenType openType)
Deprecated.
|
Window.Editor |
openEditor(io.jmix.ui.WindowInfo windowInfo,
io.jmix.core.Entity item,
WindowManager.OpenType openType,
Datasource parentDs)
Deprecated.
|
Window.Editor |
openEditor(io.jmix.ui.WindowInfo windowInfo,
io.jmix.core.Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
Window.Editor |
openEditor(io.jmix.ui.WindowInfo windowInfo,
io.jmix.core.Entity item,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params,
Datasource parentDs)
Deprecated.
|
io.jmix.ui.component.Frame |
openFrame(io.jmix.ui.component.Frame parentFrame,
io.jmix.ui.component.Component parent,
java.lang.String id,
io.jmix.ui.WindowInfo windowInfo,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
io.jmix.ui.component.Frame |
openFrame(io.jmix.ui.component.Frame parentFrame,
io.jmix.ui.component.Component parent,
io.jmix.ui.WindowInfo windowInfo)
Deprecated.
|
io.jmix.ui.component.Frame |
openFrame(io.jmix.ui.component.Frame parentFrame,
io.jmix.ui.component.Component parent,
io.jmix.ui.WindowInfo windowInfo,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
Window.Lookup |
openLookup(io.jmix.ui.WindowInfo windowInfo,
Window.Lookup.Handler handler,
WindowManager.OpenType openType)
Deprecated.
|
Window.Lookup |
openLookup(io.jmix.ui.WindowInfo windowInfo,
Window.Lookup.Handler handler,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
Window |
openWindow(io.jmix.ui.WindowInfo windowInfo,
WindowManager.OpenType openType)
Deprecated.
|
Window |
openWindow(io.jmix.ui.WindowInfo windowInfo,
WindowManager.OpenType openType,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
|
void |
selectWindowTab(io.jmix.ui.component.Window window)
Deprecated.
Select tab with window in main tabsheet.
|
void |
showExceptionDialog(java.lang.Throwable throwable)
Deprecated.
Shows exception dialog with default caption, message and displays stacktrace of given throwable.
|
void |
showExceptionDialog(java.lang.Throwable throwable,
java.lang.String caption,
java.lang.String message)
Deprecated.
Shows exception dialog with given caption, message and displays stacktrace of given throwable.
|
void |
showMessageDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType)
Deprecated.
Show message dialog with title and message.
|
void |
showNotification(java.lang.String caption)
Deprecated.
Show notification with
Frame.NotificationType.HUMANIZED. |
void |
showNotification(java.lang.String caption,
Frame.NotificationType type)
Deprecated.
Show notification.
|
void |
showNotification(java.lang.String caption,
java.lang.String description,
Frame.NotificationType type)
Deprecated.
Show notification with caption description.
|
void |
showOptionDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType,
io.jmix.ui.action.Action[] actions)
Deprecated.
Show options dialog with title and message.
|
void |
showWebPage(java.lang.String url,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Open a web page in browser.
|
afterScreenRemove, changeUrl, checkModificationsAndCloseAll, checkModificationsAndCloseAll, checkModificationsAndCloseAll, checkNotYetOpened, checkOpened, checkPermissions, create, create, createController, createNewTabLayout, createOrUpdateState, createParametersMap, createScreen, createWindow, createWindowBreadCrumbs, fireScreenAfterDetachEvent, fireScreenAfterInitEvent, getActiveWorkAreaScreensStream, getAnyCurrentScreen, getConfiguredWorkArea, getConfiguredWorkAreaOrNull, getCurrentBreadcrumbs, getDialogScreensStream, getMessageGroup, getOpenedScreens, getOpenedWorkAreaScreensStream, getRootScreenOrNull, getScreenInfo, getTabbedScreensStacks, getWorkAreaStacks, handleTabWindowClose, handleWindowBreadCrumbsNavigate, hasModalDialogWindow, hasModalWindow, hasUnsavedChanges, isMaxTabCountExceeded, isWindowClosePrevented, loadScreenXml, prepareScreenOpenDetails, remove, removeAll, removeDialogWindow, removeNewTabWindow, removeRootWindow, removeThisTabWindow, setAppUi, show, showDialogWindow, showFromNavigation, showNewTabWindow, showRootWindow, showThisTabWindow, showTooManyOpenTabsMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, create, create, create, getConfiguredWorkAreaOrNull, getOpenedScreens, hasUnsavedChanges, remove, removeAll, show, showFromNavigationopenDefaultScreen, setWindowCaption@Autowired protected ScreenViewsLoader screenViewsLoader
@Autowired protected UiComponents cubaUiComponents
@Autowired protected io.jmix.ui.sys.ScreenXmlLoader screenXmlLoader
@Autowired protected io.jmix.ui.Facets facets
protected DataSupplier defaultDataSupplier
public java.util.Collection<io.jmix.ui.component.Window> getOpenWindows()
getOpenWindows in interface WindowManagerpublic void selectWindowTab(io.jmix.ui.component.Window window)
WindowManagerselectWindowTab in interface WindowManagerpublic Window openWindow(io.jmix.ui.WindowInfo windowInfo, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
openWindow in interface WindowManagerpublic Window openWindow(io.jmix.ui.WindowInfo windowInfo, WindowManager.OpenType openType)
openWindow in interface WindowManagerpublic Window.Editor openEditor(io.jmix.ui.WindowInfo windowInfo, io.jmix.core.Entity item, WindowManager.OpenType openType, Datasource parentDs)
openEditor in interface WindowManagerpublic Window.Editor openEditor(io.jmix.ui.WindowInfo windowInfo, io.jmix.core.Entity item, WindowManager.OpenType openType)
openEditor in interface WindowManagerpublic Window.Editor openEditor(io.jmix.ui.WindowInfo windowInfo, io.jmix.core.Entity item, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
openEditor in interface WindowManagerpublic io.jmix.ui.screen.Screen createEditor(io.jmix.ui.WindowInfo windowInfo,
io.jmix.core.Entity item,
WindowManager.OpenType openType,
@Nullable
java.util.Map<java.lang.String,java.lang.Object> params)
createEditor in interface WindowManagerpublic Window.Editor openEditor(io.jmix.ui.WindowInfo windowInfo, io.jmix.core.Entity item, WindowManager.OpenType openType, @Nullable java.util.Map<java.lang.String,java.lang.Object> params, Datasource parentDs)
openEditor in interface WindowManagerpublic Window.Lookup openLookup(io.jmix.ui.WindowInfo windowInfo, Window.Lookup.Handler handler, WindowManager.OpenType openType, java.util.Map<java.lang.String,java.lang.Object> params)
openLookup in interface WindowManagerpublic Window.Lookup openLookup(io.jmix.ui.WindowInfo windowInfo, Window.Lookup.Handler handler, WindowManager.OpenType openType)
openLookup in interface WindowManagerpublic io.jmix.ui.component.Frame openFrame(io.jmix.ui.component.Frame parentFrame,
io.jmix.ui.component.Component parent,
io.jmix.ui.WindowInfo windowInfo)
openFrame in interface WindowManagerpublic io.jmix.ui.component.Frame openFrame(io.jmix.ui.component.Frame parentFrame,
io.jmix.ui.component.Component parent,
io.jmix.ui.WindowInfo windowInfo,
java.util.Map<java.lang.String,java.lang.Object> params)
openFrame in interface WindowManagerpublic io.jmix.ui.component.Frame openFrame(io.jmix.ui.component.Frame parentFrame,
io.jmix.ui.component.Component parent,
@Nullable
java.lang.String id,
io.jmix.ui.WindowInfo windowInfo,
java.util.Map<java.lang.String,java.lang.Object> params)
openFrame in interface WindowManagerpublic void close(io.jmix.ui.component.Window window)
WindowManagerclose in interface WindowManagerwindow - a window to closeprotected io.jmix.ui.component.DialogWindow createDialogWindow(io.jmix.ui.WindowInfo windowInfo)
createDialogWindow in class io.jmix.ui.sys.ScreensImplprotected io.jmix.ui.component.RootWindow createRootWindow(io.jmix.ui.WindowInfo windowInfo)
createRootWindow in class io.jmix.ui.sys.ScreensImplprotected io.jmix.ui.component.TabWindow createTabWindow(io.jmix.ui.WindowInfo windowInfo)
createTabWindow in class io.jmix.ui.sys.ScreensImplprotected boolean isCubaScreen(io.jmix.ui.WindowInfo windowInfo)
protected io.jmix.ui.sys.WindowContextImpl createWindowContext(io.jmix.ui.component.Window window,
io.jmix.ui.sys.ScreensImpl.ScreenOpenDetails openDetails)
createWindowContext in class io.jmix.ui.sys.ScreensImplpublic void showNotification(java.lang.String caption)
WindowManagershowNotification in interface WindowManagercaption - textpublic void showNotification(java.lang.String caption,
Frame.NotificationType type)
WindowManager\n).showNotification in interface WindowManagercaption - texttype - defines how to display the notification.
Don't forget to escape data from the database in case of *_HTML types!public void showNotification(java.lang.String caption,
java.lang.String description,
Frame.NotificationType type)
WindowManager\n).showNotification in interface WindowManagercaption - captiondescription - texttype - defines how to display the notification.
Don't forget to escape data from the database in case of *_HTML types!protected io.jmix.ui.Notifications.NotificationType convertNotificationType(Frame.NotificationType type)
public void showMessageDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType)
WindowManager\n) for non HTML messageType.showMessageDialog in interface WindowManagertitle - dialog titlemessage - textmessageType - defines how to display the dialog.
Don't forget to escape data from the database in case of *_HTML types!public void showOptionDialog(java.lang.String title,
java.lang.String message,
Frame.MessageType messageType,
io.jmix.ui.action.Action[] actions)
WindowManager\n) for non HTML messageType.showOptionDialog in interface WindowManagertitle - dialog titlemessage - textmessageType - defines how to display the dialog.
Don't forget to escape data from the database in case of *_HTML types!actions - available actionspublic void showExceptionDialog(java.lang.Throwable throwable)
WindowManagershowExceptionDialog in interface WindowManagerthrowable - throwablepublic void showExceptionDialog(java.lang.Throwable throwable,
@Nullable
java.lang.String caption,
@Nullable
java.lang.String message)
WindowManagershowExceptionDialog in interface WindowManagerthrowable - throwablecaption - dialog captionmessage - dialog messagepublic void showWebPage(java.lang.String url,
@Nullable
java.util.Map<java.lang.String,java.lang.Object> params)
WindowManagerWebBrowserTools instead.showWebPage in interface WindowManagerurl - URL of the pageparams - optional parameters.
target - String value used as the target name in a
window.open call in the client. This means that special values such as
"_blank", "_self", "_top", "_parent" have special meaning. If not specified, "_blank" is used.width - Integer value specifying the width of the browser window in pixelsheight - Integer value specifying the height of the browser window in pixelsborder - String value specifying the border style of the window of the browser window.
Possible values are "DEFAULT", "MINIMAL", "NONE".WebBrowserTools.showWebPage(String, Map)@Deprecated
protected void applyOpenTypeParameters(io.jmix.ui.component.Window window,
WindowManager.OpenType openType)
protected io.jmix.ui.xml.layout.loader.ComponentLoaderContext createComponentLoaderContext(io.jmix.ui.screen.ScreenOptions options)
createComponentLoaderContext in class io.jmix.ui.sys.ScreensImplprotected <T extends io.jmix.ui.screen.Screen> void loadWindowFromXml(org.dom4j.Element element,
io.jmix.ui.WindowInfo windowInfo,
io.jmix.ui.component.Window window,
T controller,
io.jmix.ui.xml.layout.loader.ComponentLoaderContext componentLoaderContext)
loadWindowFromXml in class io.jmix.ui.sys.ScreensImplprotected void findMessageGroup(org.dom4j.Element element,
java.lang.String descriptorPath,
io.jmix.ui.xml.layout.loader.ComponentLoaderContext componentLoaderContext)
findMessageGroup in class io.jmix.ui.sys.ScreensImplprotected void initDsContext(io.jmix.ui.screen.Screen screen,
org.dom4j.Element screenDescriptor,
io.jmix.ui.xml.layout.loader.ComponentLoaderContext context)
protected DsContext loadDsContext(org.dom4j.Element element)
protected void initDatasources(io.jmix.ui.component.Window window,
DsContext dsContext,
java.util.Map<java.lang.String,java.lang.Object> params)
protected void fireScreenInitEvent(io.jmix.ui.screen.FrameOwner frameOwner,
java.lang.Class<io.jmix.ui.screen.Screen.InitEvent> eventType,
io.jmix.ui.screen.Screen.InitEvent event)
fireScreenInitEvent in class io.jmix.ui.sys.ScreensImplprotected void fireScreenAfterShowEvent(io.jmix.ui.screen.FrameOwner frameOwner,
java.lang.Class<io.jmix.ui.screen.Screen.AfterShowEvent> eventType,
io.jmix.ui.screen.Screen.AfterShowEvent event)
fireScreenAfterShowEvent in class io.jmix.ui.sys.ScreensImplprotected void fireScreenBeforeShowEvent(io.jmix.ui.screen.FrameOwner frameOwner,
java.lang.Class<io.jmix.ui.screen.Screen.BeforeShowEvent> eventType,
io.jmix.ui.screen.Screen.BeforeShowEvent event)
fireScreenBeforeShowEvent in class io.jmix.ui.sys.ScreensImplprotected Settings getSettingsImpl(java.lang.String id)