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) |
ContentApp(AppContext appContext,
AppView view,
info.magnolia.objectfactory.ComponentProvider componentProvider)
Deprecated.
since 5.5.6 - use
ContentApp(AppContext, AppView) instead. |
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)
@Deprecated public ContentApp(AppContext appContext, AppView view, info.magnolia.objectfactory.ComponentProvider componentProvider)
ContentApp(AppContext, AppView)
instead.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 © 2019 Magnolia International Ltd.. All rights reserved.