public interface AppController
App
s running for a single user. It takes care of starting, stopping and switching to already running apps.Modifier and Type | Method and Description |
---|---|
void |
focusCurrentApp() |
Location |
getAppLocation(String name)
Deprecated.
since 6.2.2 - use
getRunningApps() in conjunction with AppContext.getCurrentLocation() ()} instead. |
App |
getCurrentApp()
Deprecated.
since 6.2.2 - use
getCurrentAppContext() in conjunction with AppContext.getApp() instead. |
Optional<AppContext> |
getCurrentAppContext()
Return instance controller of the app currently visible to the user.
|
Location |
getCurrentAppLocation()
Deprecated.
since 6.2.2 - use
getCurrentAppContext() in conjunction with AppContext.getCurrentLocation() instead. |
Map<String,AppContext> |
getRunningApps()
Return the list of all running apps.
|
boolean |
isAppStarted(String name) |
void |
openChooseDialog(String appName,
UiContext uiContext,
String selectedId,
ChooseDialogCallback callback)
Deprecated.
since 6.2.2 - use
ChooserController instead. |
void |
openChooseDialog(String appName,
UiContext uiContext,
String targetTreeRootPath,
String selectedId,
ChooseDialogCallback callback)
Deprecated.
since 6.2.2 - use
ChooserController instead. |
void |
setViewport(Viewport viewport) |
void |
stopApp(String name) |
void |
stopCurrentApp() |
boolean isAppStarted(String name)
void stopApp(String name)
void stopCurrentApp()
void focusCurrentApp()
Optional<AppContext> getCurrentAppContext()
Map<String,AppContext> getRunningApps()
void setViewport(Viewport viewport)
@Deprecated App getCurrentApp()
getCurrentAppContext()
in conjunction with AppContext.getApp()
instead.@Deprecated Location getCurrentAppLocation()
getCurrentAppContext()
in conjunction with AppContext.getCurrentLocation()
instead.@Deprecated Location getAppLocation(String name)
getRunningApps()
in conjunction with AppContext.getCurrentLocation()
()} instead.@Deprecated void openChooseDialog(String appName, UiContext uiContext, String selectedId, ChooseDialogCallback callback)
ChooserController
instead.@Deprecated void openChooseDialog(String appName, UiContext uiContext, String targetTreeRootPath, String selectedId, ChooseDialogCallback callback)
ChooserController
instead.Copyright © 2021 Magnolia International Ltd.. All rights reserved.