public class CustomLibrariesPresenter extends com.gwtplatform.mvp.client.Presenter<CustomLibrariesPresenter.MyView,CustomLibrariesPresenter.MyProxy>
Modifier and Type | Class and Description |
---|---|
static interface |
CustomLibrariesPresenter.MyProxy
Presenter's proxy.
|
static interface |
CustomLibrariesPresenter.MyView
Presenter's view.
|
Modifier and Type | Field and Description |
---|---|
private LibTablePresenter |
libTablePresenter
Lib table presenter
|
static com.gwtplatform.mvp.client.presenter.slots.PermanentSlot<LibTablePresenter> |
SLOT_LIBS
Slot for the embedded grids
|
Constructor and Description |
---|
CustomLibrariesPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
CustomLibrariesPresenter.MyView view,
CustomLibrariesPresenter.MyProxy proxy,
LibTablePresenter libTablePresenter)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onBind()
Lifecycle method called when binding the object.
|
protected void |
onReveal()
Lifecycle method called whenever this presenter is about to be
revealed.
|
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, registerVisibleHandler, removeFromParentSlot, removeFromPopupSlot, removeFromSlot, removeFromSlot, setInSlot, setInSlot, setInSlot, setInSlot
public static final com.gwtplatform.mvp.client.presenter.slots.PermanentSlot<LibTablePresenter> SLOT_LIBS
private LibTablePresenter libTablePresenter
@Inject CustomLibrariesPresenter(com.google.web.bindery.event.shared.EventBus eventBus, CustomLibrariesPresenter.MyView view, CustomLibrariesPresenter.MyProxy proxy, LibTablePresenter libTablePresenter)
eventBus
- Event bus reference.view
- Presenter's view.proxy
- Presenter's proxy.libTablePresenter
- Lib table presenter.protected void onBind()
onBind()
. Also, do
not call directly, call Presenter.bind()
instead.
Any event handler should be
initialised here rather than in the constructor. Also, it is good practice to
perform any costly initialisation here.onBind
in class com.gwtplatform.mvp.client.HandlerContainerImpl
protected void onReveal()
onReveal
in class com.gwtplatform.mvp.client.PresenterWidget<CustomLibrariesPresenter.MyView>