public class ApplicationPresenter extends com.gwtplatform.mvp.client.Presenter<ApplicationPresenter.MyView,ApplicationPresenter.MyProxy> implements ModalDialogs
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
ApplicationPresenter.MyProxy
Proxy.
|
(package private) static interface |
ApplicationPresenter.MyView
View.
|
Modifier and Type | Field and Description |
---|---|
private MessageDialogPresenter |
messagePresenter
Message dialog presenter
|
static com.gwtplatform.mvp.client.presenter.slots.NestedSlot |
SLOT_MAIN
Presenter's slot
|
static com.gwtplatform.mvp.client.presenter.slots.PermanentSlot |
SLOT_MESSAGE_DLG
Slot for message dialogs
|
Constructor and Description |
---|
ApplicationPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
ApplicationPresenter.MyView view,
ApplicationPresenter.MyProxy proxy,
MessageDialogPresenter messagePresenter)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
MessageDialogPresenter |
getMessageDialogPresenter()
Message dialog presenter getter.
|
protected void |
onBind()
Lifecycle method called when binding the object.
|
bind, forceReveal, getProxy, getRevealType, getSlot, prepareFromRequest, revealInParent, setRevealType, setSlot, unbind, useManualReveal
addHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, clearSlot, equals, fireEvent, fireEvent, getChild, getChildren, getChildren, getEventBus, getView, hashCode, isVisible, onHide, onReset, onReveal, registerVisibleHandler, removeFromParentSlot, removeFromPopupSlot, removeFromSlot, removeFromSlot, setInSlot, setInSlot, setInSlot, setInSlot
isBound, onUnbind, registerHandler
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
showError, showError, showError, showInfo, showInfo, showInfo, showMessage, showMessage, showOKCancel, showWarning, showWarning, showWarning, showYesNo, showYesNoCancel
public static final com.gwtplatform.mvp.client.presenter.slots.NestedSlot SLOT_MAIN
public static final com.gwtplatform.mvp.client.presenter.slots.PermanentSlot SLOT_MESSAGE_DLG
private MessageDialogPresenter messagePresenter
@Inject ApplicationPresenter(com.google.web.bindery.event.shared.EventBus eventBus, ApplicationPresenter.MyView view, ApplicationPresenter.MyProxy proxy, MessageDialogPresenter messagePresenter)
eventBus
- Event bus.view
- View.proxy
- Proxy.messagePresenter
- Message dialog presenter.protected void onBind()
onBind
in class com.gwtplatform.mvp.client.HandlerContainerImpl
public MessageDialogPresenter getMessageDialogPresenter()
getMessageDialogPresenter
in interface ModalDialogs
MessageDialogPresenter
.