use of org.activityinfo.client.page.PageState in project activityinfo by bedatadriven.
the class HistoryManager method onBrowserMovement.
private void onBrowserMovement(String token) {
Log.debug("HistoryManager: Browser movement observed (" + token + "), firing NavigationRequested");
PageState place = placeSerializer.deserialize(token);
if (place != null) {
eventBus.fireEvent(new NavigationEvent(NavigationHandler.NAVIGATION_REQUESTED, place));
} else {
Log.debug("HistoryManager: Could not deserialize '" + token + "', no action taken.");
}
}
Aggregations