@Component(value="ui_RootNavigationHandler") @Scope(value="prototype") @Order(value=960) public class RootNavigationHandler extends java.lang.Object implements NavigationHandler
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.Messages |
messages |
protected WindowConfig |
windowConfig |
Constructor and Description |
---|
RootNavigationHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
doHandle(NavigationState requestedState,
AppUI ui)
Performs navigation corresponding the given
requestedState . |
protected void |
handle404(java.lang.String route,
AppUI ui) |
protected boolean |
rootChanged(NavigationState requestedState,
AppUI ui) |
@Autowired protected WindowConfig windowConfig
@Autowired protected io.jmix.core.Messages messages
public boolean doHandle(NavigationState requestedState, AppUI ui)
NavigationHandler
requestedState
.doHandle
in interface NavigationHandler
requestedState
- requested state represented by NavigationState
instanceui
- current UIrequestedState
is fully handled by the handler or false if requestedState
should
be passed through handlers chainprotected boolean rootChanged(NavigationState requestedState, AppUI ui)
protected void handle404(java.lang.String route, AppUI ui)