Class ScreenNavigationHandler
java.lang.Object
io.jmix.ui.navigation.navigationhandler.ScreenNavigationHandler
- All Implemented Interfaces:
NavigationHandler
@Component("ui_ScreenNavigationHandler")
@Scope("prototype")
@Order(970)
public class ScreenNavigationHandler
extends Object
implements NavigationHandler
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected DataManager
protected FetchPlanRepository
protected static final int
protected Metadata
protected MetadataTools
protected WindowConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Screen
createEditor
(WindowInfo windowInfo, String screenRoute, NavigationState requestedState, AppUI ui) createEditorScreenOptions
(WindowInfo windowInfo, NavigationState requestedState, AppUI ui) protected Screen
createScreen
(NavigationState requestedState, String screenRoute, WindowInfo windowInfo, AppUI ui) protected Screen
doCreateEditor
(WindowInfo windowInfo, AppUI ui, OpenMode openMode, Map<String, Object> options) boolean
doHandle
(NavigationState requestedState, AppUI ui) Performs navigation corresponding the givenrequestedState
.protected NavigationState
getNestedScreenState
(String screenRoute, NavigationState requestedState) protected OpenMode
getScreenOpenMode
(String requestedRoute, String screenRoute, AppUI ui) protected void
protected boolean
isEditor
(WindowInfo windowInfo) protected boolean
isScreenChanged
(NavigationState requestedState, AppUI ui) protected boolean
navigate
(NavigationState requestedState, AppUI ui, List<Pair<String, WindowInfo>> routeWindowInfos) protected void
openScreen
(NavigationState requestedState, String screenRoute, WindowInfo windowInfo, AppUI ui) protected boolean
skipSubRoute
(NavigationState requestedState, int subRouteIdx, NavigationState currentState, String screenRoute)
-
Field Details
-
MAX_SUB_ROUTES
protected static final int MAX_SUB_ROUTES- See Also:
-
windowConfig
-
dataManager
-
metadata
-
fetchPlanRepository
-
metadataTools
-
accessManager
-
-
Constructor Details
-
ScreenNavigationHandler
public ScreenNavigationHandler()
-
-
Method Details
-
handle404
-
doCreateEditor
-
getScreenOpenMode
-
isEditor