info.magnolia.ui.admincentral.shellapp.applauncher
Class AppLauncherShellApp

java.lang.Object
  extended by info.magnolia.ui.admincentral.shellapp.applauncher.AppLauncherShellApp
All Implemented Interfaces:
AppLauncherView.Presenter, ShellApp

public class AppLauncherShellApp
extends Object
implements ShellApp, AppLauncherView.Presenter

App launcher shell app. Listen to: system EventBus: LayoutEvent. Reload the Layout by getting the latest available App from the {AppLauncherLayoutManager}. LocalEventBus : App started and App stop event. In this case, update the App button to indicate if an App is started or stopped.


Constructor Summary
AppLauncherShellApp(info.magnolia.ui.api.shell.Shell shell, AppLauncherView view, info.magnolia.ui.api.app.AppController appController, info.magnolia.ui.api.app.launcherlayout.AppLauncherLayoutManager appLauncherLayoutManager, info.magnolia.event.EventBus admincentralEventBus, info.magnolia.event.EventBus systemEventBus)
           
 
Method Summary
 void locationChanged(info.magnolia.ui.api.location.Location location)
           
 info.magnolia.ui.api.view.View start(ShellAppContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppLauncherShellApp

@Inject
public AppLauncherShellApp(info.magnolia.ui.api.shell.Shell shell,
                                  AppLauncherView view,
                                  info.magnolia.ui.api.app.AppController appController,
                                  info.magnolia.ui.api.app.launcherlayout.AppLauncherLayoutManager appLauncherLayoutManager,
                                  @Named(value="admincentral")
                                  info.magnolia.event.EventBus admincentralEventBus,
                                  @Named(value="system")
                                  info.magnolia.event.EventBus systemEventBus)
Method Detail

start

public info.magnolia.ui.api.view.View start(ShellAppContext context)
Specified by:
start in interface ShellApp

locationChanged

public void locationChanged(info.magnolia.ui.api.location.Location location)
Specified by:
locationChanged in interface ShellApp


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