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(Shell shell, AppLauncherView view, AppController appController, AppLauncherLayoutManager appLauncherLayoutManager, info.magnolia.event.EventBus admincentralEventBus, info.magnolia.event.EventBus systemEventBus)
           
 
Method Summary
 void locationChanged(Location location)
           
 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(Shell shell,
                                  AppLauncherView view,
                                  AppController appController,
                                  AppLauncherLayoutManager appLauncherLayoutManager,
                                  @Named(value="admincentral")
                                  info.magnolia.event.EventBus admincentralEventBus,
                                  @Named(value="system")
                                  info.magnolia.event.EventBus systemEventBus)
Method Detail

start

public View start(ShellAppContext context)
Specified by:
start in interface ShellApp

locationChanged

public void locationChanged(Location location)
Specified by:
locationChanged in interface ShellApp


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