info.magnolia.ui.api.location
Class LocationHistoryHandler
java.lang.Object
info.magnolia.ui.api.location.LocationHistoryHandler
public class LocationHistoryHandler
- extends Object
Monitors the browser history for location changes and calls the LocationController
to initiate location changes
accordingly, also listens for location change events on the EventBus and updates the browser history to match.
Method Summary |
void |
handleCurrentFragment()
Handle the current history fragment. |
info.magnolia.event.HandlerRegistration |
register(LocationController locationController,
info.magnolia.event.EventBus eventBus,
Location defaultLocation)
Initialize this location history handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationHistoryHandler
public LocationHistoryHandler(LocationHistoryMapper mapper,
Shell shell)
register
public info.magnolia.event.HandlerRegistration register(LocationController locationController,
info.magnolia.event.EventBus eventBus,
Location defaultLocation)
- Initialize this location history handler.
handleCurrentFragment
public void handleCurrentFragment()
- Handle the current history fragment. Typically called at application start, to ensure bookmark launches work.
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.