public interface AppContext extends AppView.Listener, UiContext
OverlayLayer.ModalityDomain, OverlayLayer.ModalityLevel
Modifier and Type | Method and Description |
---|---|
void |
broadcastMessage(Message message) |
void |
closeSubApp(String instanceId) |
SubAppContext |
getActiveSubAppContext() |
AppDescriptor |
getAppDescriptor() |
SubAppDescriptor |
getDefaultSubAppDescriptor() |
String |
getLabel() |
String |
getName() |
default Collection<SubAppContext> |
getSubAppContexts() |
AppView |
getView() |
void |
openSubApp(Location location) |
void |
sendGroupMessage(String group,
Message message) |
void |
sendLocalMessage(Message message) |
void |
sendUserMessage(String user,
Message message) |
void |
showConfirmationMessage(String message) |
void |
updateSubAppLocation(SubAppContext subAppContext,
Location location) |
onClose, onFocus
getOverlayDelegate, openAlert, openAlert, openConfirmation, openConfirmation, openNotification, openNotification, openNotification, openOverlay, openOverlay
void sendLocalMessage(Message message)
void broadcastMessage(Message message)
void showConfirmationMessage(String message)
String getName()
String getLabel()
AppView getView()
void openSubApp(Location location)
void closeSubApp(String instanceId)
void updateSubAppLocation(SubAppContext subAppContext, Location location)
SubAppDescriptor getDefaultSubAppDescriptor()
SubAppContext getActiveSubAppContext()
AppDescriptor getAppDescriptor()
default Collection<SubAppContext> getSubAppContexts()
Copyright © 2019 Magnolia International Ltd.. All rights reserved.