info.magnolia.ui.admincentral.shellapp
Class ShellAppController

java.lang.Object
  extended by info.magnolia.ui.admincentral.shellapp.ShellAppController
All Implemented Interfaces:
info.magnolia.event.EventHandler, LocationChangedEvent.Handler, LocationChangeRequestedEvent.Handler

@Singleton
public class ShellAppController
extends Object
implements LocationChangedEvent.Handler, LocationChangeRequestedEvent.Handler

Manages the shell apps and raises callbacks to the app.


Constructor Summary
ShellAppController(info.magnolia.objectfactory.ComponentProvider componentProvider, Shell shell, info.magnolia.event.EventBus admincentralEventBus)
           
 
Method Summary
 void addShellApp(String name, Class<? extends ShellApp> clazz)
           
 void onLocationChanged(LocationChangedEvent event)
           
 void onLocationChangeRequested(LocationChangeRequestedEvent event)
           
 void setViewport(Viewport viewport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellAppController

@Inject
public ShellAppController(info.magnolia.objectfactory.ComponentProvider componentProvider,
                                 Shell shell,
                                 @Named(value="admincentral")
                                 info.magnolia.event.EventBus admincentralEventBus)
Method Detail

addShellApp

public void addShellApp(String name,
                        Class<? extends ShellApp> clazz)

setViewport

public void setViewport(Viewport viewport)

onLocationChangeRequested

public void onLocationChangeRequested(LocationChangeRequestedEvent event)
Specified by:
onLocationChangeRequested in interface LocationChangeRequestedEvent.Handler

onLocationChanged

public void onLocationChanged(LocationChangedEvent event)
Specified by:
onLocationChanged in interface LocationChangedEvent.Handler


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.