info.magnolia.ui.api.location
Class LocationController

java.lang.Object
  extended by info.magnolia.ui.api.location.LocationController

@Singleton
public class LocationController
extends Object

Manages the user's location in the application and controls location changes.


Constructor Summary
LocationController(info.magnolia.event.EventBus eventBus, Shell shell)
           
 
Method Summary
 Location getWhere()
          Returns the current location.
 void goTo(Location newLocation)
          Request a change to a new location.
protected  void goToWithoutChecks(Location newLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationController

@Inject
public LocationController(@Named(value="admincentral")
                                 info.magnolia.event.EventBus eventBus,
                                 Shell shell)
Method Detail

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.