VIEW
- is the generic type of the view
.public abstract class AbstractMainDialogController<VIEW extends UiWidgetRegular> extends DialogController<VIEW>
DialogController
of a
main dialog
.PATTERN_DIALOG_ID
Constructor and Description |
---|
AbstractMainDialogController()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DialogSlot |
doShow(DialogPlace dialogPlace)
This method gets called whenever this
DialogController is to be shown. |
String |
getType()
This method determines the type of this
Dialog . |
embed, getDialogManager, getUiContext, onRemoveChild, setUiContext, show
createView, getView, isVisible, onHide, onReset, onShow, reset
createLogger, doInitialize, getLogger
doInitialized, getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getTitle, isVisible
public AbstractMainDialogController()
public String getType()
Dialog
. There are predefined TYPE_*
constants for common types in DialogConstants
. However, you can simply create additional custom
types for your needs.Dialog
.DialogConstants.TYPE_MAIN
,
DialogConstants.TYPE_HEADER
,
DialogConstants.TYPE_FOOTER
,
DialogConstants.TYPE_NAVIGATION
,
DialogConstants.TYPE_SIDE
,
DialogConstants.TYPE_ROOT
protected DialogSlot doShow(DialogPlace dialogPlace)
DialogController
is to be shown. There are two cases to
distinguish:
DialogController
is identified by the given DialogPlace
. It is the leaf of the
DialogController
-hierarchy that is to be displayed.show
a dialog, its parent (and ancestors)
will be shown that will embed their child dialog in the DialogSlot
returned by this method.root
DialogController
this method will never be
called.doShow
in class DialogController<VIEW extends UiWidgetRegular>
dialogPlace
- is the DialogPlace
pointing
to the
direct dialog to open and containing potential parameters
.DialogSlot
identifying
the parent
DialogController
and its slot where to embed this DialogController
.Copyright © 2001–2016 mmm-Team. All rights reserved.