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
FieldsModifier and TypeFieldDescriptionprotected AccessManagerprotected DataManagerprotected FetchPlanRepositoryprotected static final intprotected Metadataprotected MetadataToolsprotected WindowConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ScreencreateEditor(WindowInfo windowInfo, String screenRoute, NavigationState requestedState, AppUI ui) createEditorScreenOptions(WindowInfo windowInfo, NavigationState requestedState, AppUI ui) protected ScreencreateScreen(NavigationState requestedState, String screenRoute, WindowInfo windowInfo, AppUI ui) protected ScreendoCreateEditor(WindowInfo windowInfo, AppUI ui, OpenMode openMode, Map<String, Object> options) booleandoHandle(NavigationState requestedState, AppUI ui) Performs navigation corresponding the givenrequestedState.protected NavigationStategetNestedScreenState(String screenRoute, NavigationState requestedState) protected OpenModegetScreenOpenMode(String requestedRoute, String screenRoute, AppUI ui) protected voidprotected booleanisEditor(WindowInfo windowInfo) protected booleanisScreenChanged(NavigationState requestedState, AppUI ui) protected booleannavigate(NavigationState requestedState, AppUI ui, List<Pair<String, WindowInfo>> routeWindowInfos) protected voidopenScreen(NavigationState requestedState, String screenRoute, WindowInfo windowInfo, AppUI ui) protected booleanskipSubRoute(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