@Component @Scope(value="prototype") @Order(value=960) public class RootNavigationHandler extends java.lang.Object implements NavigationHandler
Modifier and Type | Field and Description |
---|---|
protected Messages |
messages |
protected WindowConfig |
windowConfig |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
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) |
@Inject protected WindowConfig windowConfig
@Inject protected 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)