info.magnolia.ui.contentapp
Class ContentApp

java.lang.Object
  extended by info.magnolia.ui.framework.app.BaseApp
      extended by info.magnolia.ui.contentapp.ContentApp
All Implemented Interfaces:
App
Direct Known Subclasses:
SecurityApp

public class ContentApp
extends BaseApp

Extends the BaseApp by the ability to open a choose dialog.


Field Summary
 
Fields inherited from class info.magnolia.ui.framework.app.BaseApp
appContext
 
Constructor Summary
ContentApp(AppContext appContext, AppView view, info.magnolia.objectfactory.ComponentProvider componentProvider)
           
 
Method Summary
 void openChooseDialog(UiContext overlayLayer, String selectedId, ChooseDialogCallback callback)
          Open a dialog which enables a user to choose an item from the app.
 
Methods inherited from class info.magnolia.ui.framework.app.BaseApp
getAppContext, getView, locationChanged, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentApp

@Inject
public ContentApp(AppContext appContext,
                         AppView view,
                         info.magnolia.objectfactory.ComponentProvider componentProvider)
Method Detail

openChooseDialog

public void openChooseDialog(UiContext overlayLayer,
                             String selectedId,
                             ChooseDialogCallback callback)
Description copied from interface: App
Open a dialog which enables a user to choose an item from the app.

Specified by:
openChooseDialog in interface App
Overrides:
openChooseDialog in class BaseApp
Parameters:
overlayLayer - The layer over which the opened dialog should be presented and be modal. See Shell, SubAppContext, AppContext.


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