public interface Shell extends UiContext
OverlayLayer.ModalityDomain, OverlayLayer.ModalityLevel
Modifier and Type | Method and Description |
---|---|
default info.magnolia.event.HandlerRegistration |
addFragmentChangedHandler(FragmentChangedHandler handler)
Deprecated.
since 6.0, no need to register fragment handling through the Shell anymore; use Vaadin's Page#addPopStateListener instead.
|
void |
askForConfirmation(String message,
ConfirmationHandler listener) |
default void |
enterFullScreenMode()
Deprecated.
since 6.0 legacy full-screen mode is no longer supported.
|
default void |
exitFullScreenMode()
Deprecated.
since 6.0 legacy full-screen mode is no longer supported.
|
String |
getFragment() |
default OverlayCloser |
openOverlayOnView(View view,
View parent,
OverlayLayer.ModalityDomain modalityLocation,
OverlayLayer.ModalityLevel modalityLevel)
Deprecated.
since 6.1, overlays are no longer bound to specific views.
|
default void |
pushToClient()
Deprecated.
since 6.0; was never used.
|
default void |
registerApps(List<String> appNames)
Deprecated.
since 6.0 app registration is no longer performed through the
Shell interface. |
void |
setFragment(String fragment) |
default void |
setStickerView(View view)
Deprecated.
since 6.0 environment info sticker is no longer provided through the
Shell interface. |
default void |
setUserMenu(View view)
Deprecated.
since 6.0 user menu is no longer provided through the
Shell interface. |
void |
showError(String message,
Exception e) |
void |
showNotification(String message) |
getOverlayDelegate, openAlert, openAlert, openConfirmation, openConfirmation, openNotification, openNotification, openNotification, openOverlay, openOverlay
void askForConfirmation(String message, ConfirmationHandler listener)
void showNotification(String message)
String getFragment()
void setFragment(String fragment)
@Deprecated default info.magnolia.event.HandlerRegistration addFragmentChangedHandler(FragmentChangedHandler handler)
@Deprecated default void registerApps(List<String> appNames)
Shell
interface.@Deprecated default void pushToClient()
@Deprecated default void enterFullScreenMode()
@Deprecated default void exitFullScreenMode()
@Deprecated default OverlayCloser openOverlayOnView(View view, View parent, OverlayLayer.ModalityDomain modalityLocation, OverlayLayer.ModalityLevel modalityLevel)
view
- View to be displayed over the view.parent
- The View to open the Overlay on top of.@Deprecated default void setUserMenu(View view)
Shell
interface.@Deprecated default void setStickerView(View view)
Shell
interface.Copyright © 2021 Magnolia International Ltd.. All rights reserved.