V - View subtypeP - Proxy subtypepublic abstract class PresenterPrototype<V extends com.gwtplatform.mvp.client.View,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>>
extends com.gwtplatform.mvp.client.Presenter<V,P>
| Constructor and Description |
|---|
PresenterPrototype(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
P proxy)
PresenterPrototype
Defines parent-child relations via proxy level. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
changeTokenProxy(TokenProxy requestedProxy,
com.google.gwt.user.client.rpc.AsyncCallback<PresenterPrototype<? extends com.gwtplatform.mvp.client.View,?>> revealCallback)
Use this function for common-purpose tokenProxy change handling.
|
void |
loadChilds(TokenProxy tokenProxy) |
void |
onBind() |
void |
onReveal() |
protected void |
revealInParent() |
bind, forceReveal, getProxy, getRevealType, getSlot, prepareFromRequest, setRevealType, setSlot, unbind, useManualRevealaddHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, fireEvent, getEventBus, getView, getWidget, isVisible, onHide, onReset, removeFromPopupSlot, removeFromSlot, setInSlot, setInSlotpublic PresenterPrototype(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
P proxy)
SlotMappedProxy for details.protected void changeTokenProxy(TokenProxy requestedProxy, com.google.gwt.user.client.rpc.AsyncCallback<PresenterPrototype<? extends com.gwtplatform.mvp.client.View,?>> revealCallback)
requestedProxy - some of TokenProxy implementationrevealCallback - presenter will be loaded dynamically, so instead of default return value we use callbackpublic void loadChilds(TokenProxy tokenProxy)
public void onBind()
onBind in class com.gwtplatform.mvp.client.HandlerContainerImplpublic void onReveal()
onReveal in class com.gwtplatform.mvp.client.PresenterWidget<V extends com.gwtplatform.mvp.client.View>Copyright © 2012–2014 RedSoft. All rights reserved.