VIEW
- is the generic type of the view
.public abstract class AbstractNavigationDialogController<VIEW extends UiWidgetRegular> extends DialogController<VIEW>
DialogController
of a
navigation dialog
.PATTERN_DIALOG_ID
Constructor and Description |
---|
AbstractNavigationDialogController()
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 |
getId()
This method gets the ID used to identify this object.
|
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
getTitle, isVisible
public AbstractNavigationDialogController()
public String getId()
DialogConstants.DIALOG_ID_ROOT
,
DialogConstants.DIALOG_ID_PAGE
,
DialogConstants.DIALOG_ID_HOME
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.