@Singleton public class ShellAppController extends Object implements LocationChangedEvent.Handler, LocationChangeRequestedEvent.Handler
Constructor and Description |
---|
ShellAppController(info.magnolia.objectfactory.ComponentProvider componentProvider,
Shell shell,
info.magnolia.event.EventBus admincentralEventBus) |
Modifier and Type | Method and Description |
---|---|
void |
addShellApp(String name,
Class<? extends ShellApp> clazz) |
void |
onLocationChanged(LocationChangedEvent event) |
void |
onLocationChangeRequested(LocationChangeRequestedEvent event) |
void |
setViewport(Viewport viewport) |
@Inject public ShellAppController(info.magnolia.objectfactory.ComponentProvider componentProvider, Shell shell, @Named(value="admincentral") info.magnolia.event.EventBus admincentralEventBus)
public void setViewport(Viewport viewport)
public void onLocationChangeRequested(LocationChangeRequestedEvent event)
onLocationChangeRequested
in interface LocationChangeRequestedEvent.Handler
public void onLocationChanged(LocationChangedEvent event)
onLocationChanged
in interface LocationChangedEvent.Handler
Copyright © 2017 Magnolia International Ltd.. All rights reserved.