Package io.jmix.ui.sys
Class ScreenToolsImpl
java.lang.Object
io.jmix.ui.sys.ScreenToolsImpl
- All Implemented Interfaces:
ScreenTools
-
Field Summary
Modifier and TypeFieldDescriptionprotected Metadata
protected UiProperties
protected UserSettingService
protected WindowConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getEntityToEdit
(String screenId) void
Handle redirect if it is scheduled.void
openDefaultScreen
(Screens screens) Opens default screen.protected void
setDefaultScreenWindow
(Window window) void
setMetadata
(Metadata metadata) void
setUiProperties
(UiProperties uiProperties) void
setUserSettingService
(UserSettingService userSettingService) void
setWindowConfig
(WindowConfig windowConfig)
-
Field Details
-
uiProperties
-
metadata
-
windowConfig
-
userSettingService
-
-
Constructor Details
-
ScreenToolsImpl
public ScreenToolsImpl()
-
-
Method Details
-
setUiProperties
-
setMetadata
-
setWindowConfig
-
setUserSettingService
-
openDefaultScreen
Description copied from interface:ScreenTools
Opens default screen.Default screen can be defined with the
jmix.ui.defaultScreenId
application property.- Specified by:
openDefaultScreen
in interfaceScreenTools
- Parameters:
screens
-Screens
bean reference
-
setDefaultScreenWindow
-
getEntityToEdit
-
handleRedirect
public void handleRedirect()Description copied from interface:ScreenTools
Handle redirect if it is scheduled.- Specified by:
handleRedirect
in interfaceScreenTools
-