public interface DialogConstants
dialog IDs
,
dialog types
, DialogSlot
s and DialogPlace
s. TYPE_ROOT
and TYPE_MAIN
.
However, you find the entire common sense here and there are (base) implementations for
DialogController
that depend on these predefined constants and
will make your life a lot easier. MyProjectDialogConstants
to define
the constants for your dialogs. In most cases you should avoid defining constants for parameterized
DialogPlace
s.static final String TYPE_ROOT
type
of the root dialog. This is the top-level dialog of the
application and represents the UiWidgetMainWindow
.RootDialogController
,
Constant Field Valuesstatic final String TYPE_PAGE
type
of the page dialog. This is the first custom dialog that
defines the structure of the application page (main window). It is supposed to embed itself into the
root
page and provide slots
for
child dialogs, at least a main
slot. For an example see
DialogController
.static final String TYPE_MAIN
type
of a main dialog. This is a regular dialog displayed in the
main content area of the client application window.static final String TYPE_HEADER
type
of a header dialog. This is a dialog displayed at the top of
the main content area of the client application window above a main dialog
.static final String TYPE_FOOTER
type
of a footer dialog. This is a dialog displayed at the bottom
of the main content area of the client application window below a main dialog
.static final String TYPE_NAVIGATION
type
of a navigation dialog. The navigation offers a structured way
for the user to navigate through the application. This can happen in form of a menu-bar that is typically
placed below the header
and above the main dialog
. However it is
often realized as a list or tree of links that is displayed beside the main dialog
(typically on the left).static final String TYPE_SIDE
type
of a side dialog. This is a dialog typically displayed at on
the right of the main content area of the client application window beside a main
dialog
. It typically shows additional information or a summary of the current state (e.g. shopping
cart). However, it may also be used to display advertisements.static final String DIALOG_ID_ROOT
static final String DIALOG_ID_PAGE
static final String DIALOG_ID_NAVIGATION
dialog-id
of the (default) navigation
dialog.static final DialogSlot SLOT_ROOT_PAGE
DialogSlot
of the root dialog
where the page
dialog is DialogController.embed(net.sf.mmm.client.ui.base.dialog.DialogController<?>, net.sf.mmm.client.ui.base.dialog.DialogSlot)
embedded.static final DialogSlot SLOT_PAGE_MAIN
DialogSlot
for the main dialog.static final DialogSlot SLOT_PAGE_NAVIGATION
DialogSlot
for the navigation dialog.static final String DIALOG_ID_HOME
static final DialogPlace PLACE_HOME
DialogPlace
for the home dialog
.DialogManager.initialize(DialogPlace)
Copyright © 2001–2016 mmm-Team. All rights reserved.