public class DialogManagerImplGwt extends AbstractDialogManager
DialogManager
for GWT.Modifier and Type | Class and Description |
---|---|
private class |
DialogManagerImplGwt.HistoryListener
This inner class is the listener that gets notified whenever the
DialogPlace changes. |
Constructor and Description |
---|
DialogManagerImplGwt()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DialogPlace |
getStartPlace()
This method determines the start
DialogPlace . |
void |
navigateBack()
This method navigates back in the history to the
DialogPlace that has been visited before. |
void |
navigateForward()
This method navigates forward in the history.
|
void |
navigateTo(DialogPlace place)
|
protected void |
onNavigate(String place)
This method gets called whenever the
DialogPlace changes. |
ApplicationWindow |
openInNewWindow(DialogPlace place)
|
doInitialize, getContext, getCurrentDialog, getCurrentMainDialog, getCurrentPlace, getCurrentPopupDialog, getDialog, getTitle, initialize, navigateTo, setContext, setDialogControllerFactory, show
createLogger, getLogger
doInitialized, getInitializationState, initialize
public void navigateBack()
DialogPlace
that has been visited before. In a
web-application this can also be triggered by pressing the back button.public void navigateForward()
DialogManager.navigateBack()
was invoked, this method will
go to the DialogPlace
that has been visited before the invocation of DialogManager.navigateBack()
. In
a web-application this can also be triggered by pressing the forward button.public void navigateTo(DialogPlace place)
DialogPlace
and its according Dialog
in the current
ApplicationWindow
. The current place
is added to the navigation
history.place
- is the DialogPlace
identifying the Dialog
to open.protected DialogPlace getStartPlace()
DialogPlace
. If the application is started from a bookmark, this
method will create the DialogPlace
from this bookmark (in case of a web-application from the hash
of the URL).getStartPlace
in class AbstractDialogManager
DialogPlace
or null
if not present (and
default
shall be used.AbstractDialogManager.initialize(DialogPlace)
public ApplicationWindow openInNewWindow(DialogPlace place)
DialogPlace
and its according Dialog
in a new
ApplicationWindow
. The operation does not affect the current navigation history. In case of a
web-application a new browser window (or tab) is opened that starts another instance of the client at the
given place
. In a native client a new window is opened with its own DialogManager
instance and new instances of all Dialog
s.place
- is the DialogPlace
to open in the new window.protected void onNavigate(String place)
DialogPlace
changes.place
- is the new place.Copyright © 2001–2016 mmm-Team. All rights reserved.