info.magnolia.ui.api.shell
Interface Shell
- All Superinterfaces:
- OverlayLayer, UiContext
- All Known Implementing Classes:
- ShellImpl
public interface Shell
- extends UiContext
Decouples the presenters and the Vaadin application. Provides methods to show messages and configuration dialogs.
askForConfirmation
void askForConfirmation(String message,
ConfirmationHandler listener)
showNotification
void showNotification(String message)
showError
void showError(String message,
Exception e)
getFragment
String getFragment()
setFragment
void setFragment(String fragment)
addFragmentChangedHandler
info.magnolia.event.HandlerRegistration addFragmentChangedHandler(FragmentChangedHandler handler)
registerApps
void registerApps(List<String> appNames)
pushToClient
void pushToClient()
enterFullScreenMode
void enterFullScreenMode()
exitFullScreenMode
void exitFullScreenMode()
openOverlayOnView
OverlayCloser openOverlayOnView(View view,
View parent,
OverlayLayer.ModalityDomain modalityLocation,
OverlayLayer.ModalityLevel modalityLevel)
- Open an Overlay on top of a specific View.
- Parameters:
view
- View to be displayed over the view.parent
- The View to open the Overlay on top of.
setUserMenu
void setUserMenu(View view)
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.