Class ModclusterPresenter
- java.lang.Object
-
- com.gwtplatform.mvp.client.HandlerContainerImpl
-
- com.gwtplatform.mvp.client.PresenterWidget<V>
-
- com.gwtplatform.mvp.client.Presenter<V,Proxy_>
-
- org.jboss.hal.core.mvp.HalPresenter<V,Proxy_>
-
- org.jboss.hal.core.mvp.ApplicationPresenter<V,Proxy_>
-
- org.jboss.hal.core.mvp.ApplicationFinderPresenter<V,Proxy_>
-
- org.jboss.hal.core.mbui.MbuiPresenter<ModclusterPresenter.MyView,ModclusterPresenter.MyProxy>
-
- org.jboss.hal.client.configuration.subsystem.modcluster.ModclusterPresenter
-
- All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.HandlerContainer,com.gwtplatform.mvp.client.HasPopupSlot,com.gwtplatform.mvp.client.HasSlots,Iterable<elemental2.dom.HTMLElement>,org.jboss.elemento.IsElement,HasFinderPath,Refreshable,SupportsExpertMode,SupportsExternalMode
public class ModclusterPresenter extends MbuiPresenter<ModclusterPresenter.MyView,ModclusterPresenter.MyProxy> implements SupportsExpertMode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModclusterPresenter.MyProxystatic interfaceModclusterPresenter.MyView
-
Constructor Summary
Constructors Constructor Description ModclusterPresenter(com.google.web.bindery.event.shared.EventBus eventBus, ModclusterPresenter.MyView view, ModclusterPresenter.MyProxy myProxy, Finder finder, CrudOperations crud, MetadataRegistry metadataRegistry, FinderPathFactory finderPathFactory, StatementContext statementContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCustomLoadMetric()voidaddLoadMetric()voidaddLoadProviderDynamic()voidaddLoadProviderSimple()FinderPathfinderPath()Application presenters need to provide information about their path in the finder.StringgetProxyName()OperationloadProviderDynamicOperation()OperationloadProviderSimpleOperation()voidprepareFromRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest request)voidprepareResetCustomLoadMetric(Form<NamedNode> form)voidprepareResetLoadMetric(Form<NamedNode> form)voidremoveCustomLoadMetric(Table<NamedNode> table)voidremoveLoadMetric(Table<NamedNode> table)voidremoveLoadProviderDynamic()voidremoveLoadProviderSimple()ResourceAddressresourceAddress()voidsaveCustomLoadMetric(Form<NamedNode> form, Map<String,Object> changedValues)voidsaveLoadMetric(Form<NamedNode> form, Map<String,Object> changedValues)-
Methods inherited from class org.jboss.hal.core.mvp.ApplicationPresenter
isExternal
-
Methods inherited from class org.jboss.hal.core.mvp.HalPresenter
element, iterator
-
Methods inherited from class com.gwtplatform.mvp.client.Presenter
bind, forceReveal, getProxy, unbind, useManualReveal
-
Methods inherited from class com.gwtplatform.mvp.client.PresenterWidget
addToPopupSlot, addToPopupSlot, addToSlot, addToSlot, asWidget, clearSlot, clearSlot, equals, fireEvent, fireEvent, getChild, getChildren, getChildren, getView, hashCode, isVisible, removeFromParentSlot, removeFromPopupSlot, removeFromSlot, removeFromSlot, setInSlot, setInSlot, setInSlot, setInSlot
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ModclusterPresenter
@Inject public ModclusterPresenter(com.google.web.bindery.event.shared.EventBus eventBus, ModclusterPresenter.MyView view, ModclusterPresenter.MyProxy myProxy, Finder finder, CrudOperations crud, MetadataRegistry metadataRegistry, FinderPathFactory finderPathFactory, StatementContext statementContext)
-
-
Method Detail
-
prepareFromRequest
public void prepareFromRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest request)
- Overrides:
prepareFromRequestin classApplicationPresenter<ModclusterPresenter.MyView,ModclusterPresenter.MyProxy>
-
resourceAddress
public ResourceAddress resourceAddress()
- Specified by:
resourceAddressin interfaceSupportsExpertMode
-
finderPath
public FinderPath finderPath()
Description copied from interface:HasFinderPathApplication presenters need to provide information about their path in the finder. Normally this path is updated automatically when navigating in the finder. However since application presenters can also be revealed using the breadcrumb dropdown or by entering the URL directly this information is crucial to restore the path in the finder context.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
nullthe path in the finder context is not touched.- Specified by:
finderPathin interfaceHasFinderPath
-
getProxyName
public String getProxyName()
-
loadProviderDynamicOperation
public Operation loadProviderDynamicOperation()
-
addLoadProviderDynamic
public void addLoadProviderDynamic()
-
removeLoadProviderDynamic
public void removeLoadProviderDynamic()
-
loadProviderSimpleOperation
public Operation loadProviderSimpleOperation()
-
addLoadProviderSimple
public void addLoadProviderSimple()
-
removeLoadProviderSimple
public void removeLoadProviderSimple()
-
addCustomLoadMetric
public void addCustomLoadMetric()
-
saveCustomLoadMetric
public void saveCustomLoadMetric(Form<NamedNode> form, Map<String,Object> changedValues)
-
addLoadMetric
public void addLoadMetric()
-
-