info.magnolia.ui.api.location
Class LocationController
java.lang.Object
info.magnolia.ui.api.location.LocationController
@Singleton
public class LocationController
- extends Object
Manages the user's location in the application and controls location changes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationController
@Inject
public LocationController(@Named(value="admincentral")
info.magnolia.event.EventBus eventBus,
Shell shell)
getWhere
public Location getWhere()
- Returns the current location.
goTo
public void goTo(Location newLocation)
- Request a change to a new location.
goToWithoutChecks
protected void goToWithoutChecks(Location newLocation)
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.