public class HostPresenter extends MbuiPresenter<HostPresenter.MyView,HostPresenter.MyProxy> implements SupportsExpertMode, EnableSSLPresenter
| Modifier and Type | Class and Description |
|---|---|
static interface |
HostPresenter.MyProxy |
static interface |
HostPresenter.MyView |
| Constructor and Description |
|---|
HostPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
HostPresenter.MyView view,
HostPresenter.MyProxy proxy,
Finder finder,
FinderPathFactory finderPathFactory,
StatementContext statementContext,
Dispatcher dispatcher,
CrudOperations crud,
javax.inject.Provider<Progress> progress,
Environment environment,
Resources resources) |
| Modifier and Type | Method and Description |
|---|---|
elemental2.dom.HTMLElement |
asElement() |
Iterable<elemental2.dom.HTMLElement> |
asElements() |
FinderPath |
finderPath()
Application presenters need to provide information about their path in the finder.
|
protected void |
onBind() |
protected void |
onHide() |
protected void |
reload()
Override this method to
load the data from the backend and
update the view
It's called as part of the
ApplicationFinderPresenter.onReset() method. |
void |
reloadServer(Host host,
String urlConsole) |
void |
reloadView() |
ResourceAddress |
resourceAddress() |
onResetheaderMode, isExternal, onReveal, prepareFromRequestbind, forceReveal, getProxy, getRevealType, getSlot, revealInParent, setRevealType, setSlot, unbind, useManualRevealaddHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, clearSlot, equals, fireEvent, fireEvent, getChild, getChildren, getChildren, getEventBus, getView, hashCode, isVisible, registerVisibleHandler, removeFromParentSlot, removeFromPopupSlot, removeFromSlot, removeFromSlot, setInSlot, setInSlot, setInSlot, setInSlot@Inject
public HostPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
HostPresenter.MyView view,
HostPresenter.MyProxy proxy,
Finder finder,
FinderPathFactory finderPathFactory,
StatementContext statementContext,
Dispatcher dispatcher,
CrudOperations crud,
@Footer
javax.inject.Provider<Progress> progress,
Environment environment,
Resources resources)
protected void onBind()
onBind in class com.gwtplatform.mvp.client.HandlerContainerImplpublic ResourceAddress resourceAddress()
resourceAddress in interface SupportsExpertModepublic FinderPath finderPath()
HasFinderPath
Please make sure that the IDs for selected items in the finder path match to the IDs returned by ItemDisplay.getId()
If this method returns null the path in the finder context is not touched.
finderPath in interface HasFinderPathprotected void reload()
ApplicationFinderPresenterApplicationFinderPresenter.onReset() method.reload in class MbuiPresenter<HostPresenter.MyView,HostPresenter.MyProxy>public void reloadView()
reloadView in interface EnableSSLPresenterpublic void reloadServer(Host host, String urlConsole)
reloadServer in interface EnableSSLPresenterprotected void onHide()
onHide in class com.gwtplatform.mvp.client.PresenterWidget<V extends HalView>public elemental2.dom.HTMLElement asElement()
asElement in interface org.jboss.gwt.elemento.core.IsElementpublic Iterable<elemental2.dom.HTMLElement> asElements()
asElements in interface org.jboss.gwt.elemento.core.HasElementsCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.