public class ContentApp extends BaseApp
BaseApp
by the ability to open a choose dialog.Modifier and Type | Field and Description |
---|---|
static String |
COMMIT_CHOOSE_DIALOG_ACTION |
appContext
Constructor and Description |
---|
ContentApp(AppContext appContext,
AppView view,
info.magnolia.objectfactory.ComponentProvider componentProvider) |
Modifier and Type | Method and Description |
---|---|
void |
openChooseDialog(UiContext overlayLayer,
String selectedId,
ChooseDialogCallback callback)
Open a dialog which enables a user to choose an item from the app.
|
void |
openChooseDialog(UiContext overlayLayer,
String targetTreeRootPath,
String selectedId,
ChooseDialogCallback callback) |
getAppContext, getView, locationChanged, start, stop
public static final String COMMIT_CHOOSE_DIALOG_ACTION
@Inject public ContentApp(AppContext appContext, AppView view, info.magnolia.objectfactory.ComponentProvider componentProvider)
public void openChooseDialog(UiContext overlayLayer, String selectedId, ChooseDialogCallback callback)
App
openChooseDialog
in interface App
openChooseDialog
in class BaseApp
overlayLayer
- The layer over which the opened dialog should be presented and be modal. See Shell, SubAppContext
, AppContext
.public void openChooseDialog(UiContext overlayLayer, String targetTreeRootPath, String selectedId, ChooseDialogCallback callback)
openChooseDialog
in interface App
openChooseDialog
in class BaseApp
Copyright © 2015 Magnolia International Ltd.. All rights reserved.