@Dependent public class ConsumerServicePlanList extends com.google.gwt.user.client.ui.FlowPanel implements com.google.gwt.user.client.TakesValue<List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean>>, CreateContractEvent.HasCreateContractHandlers, ShowPolicyChainEvent.HasShowPolicyChainHandlers
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.errai.ui.client.local.spi.TranslationService |
i18n |
protected NavigationHelperService |
navHelper |
protected javax.enterprise.inject.Instance<PolicyChain> |
policyChainFactory |
| Constructor and Description |
|---|
ConsumerServicePlanList()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addCreateContractHandler(CreateContractEvent.Handler handler)
Adds a handler to the widget.
|
com.google.gwt.event.shared.HandlerRegistration |
addShowPolicyChainHandler(ShowPolicyChainEvent.Handler handler)
Adds a handler to the widget.
|
protected void |
createActions(io.apiman.manager.api.beans.summary.ServicePlanSummaryBean bean,
com.google.gwt.user.client.ui.FlowPanel row)
Creates the description row for a single service in the list.
|
protected NoEntitiesWidget |
createNoEntitiesWidget() |
protected void |
createTitleAndDescription(io.apiman.manager.api.beans.summary.ServicePlanSummaryBean bean,
com.google.gwt.user.client.ui.FlowPanel row)
Creates the title row.
|
List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean> |
getValue() |
void |
refresh()
Refresh the display with the current value.
|
void |
renderPolicyChain(String planId,
io.apiman.manager.api.beans.policies.PolicyChainBean chain)
Renders the policy chain for the given plan.
|
void |
setValue(List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean> value) |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait@Inject protected NavigationHelperService navHelper
@Inject protected org.jboss.errai.ui.client.local.spi.TranslationService i18n
@Inject protected javax.enterprise.inject.Instance<PolicyChain> policyChainFactory
public List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean> getValue()
getValue in interface com.google.gwt.user.client.TakesValue<List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean>>HasValue.getValue()public void setValue(List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean> value)
setValue in interface com.google.gwt.user.client.TakesValue<List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean>>HasValue.setValue(java.lang.Object)public void refresh()
protected void createTitleAndDescription(io.apiman.manager.api.beans.summary.ServicePlanSummaryBean bean,
com.google.gwt.user.client.ui.FlowPanel row)
bean - row - protected void createActions(io.apiman.manager.api.beans.summary.ServicePlanSummaryBean bean,
com.google.gwt.user.client.ui.FlowPanel row)
bean - row - public void renderPolicyChain(String planId, io.apiman.manager.api.beans.policies.PolicyChainBean chain)
planId - chain - protected NoEntitiesWidget createNoEntitiesWidget()
public com.google.gwt.event.shared.HandlerRegistration addCreateContractHandler(CreateContractEvent.Handler handler)
CreateContractEvent.HasCreateContractHandlerspublic com.google.gwt.event.shared.HandlerRegistration addShowPolicyChainHandler(ShowPolicyChainEvent.Handler handler)
ShowPolicyChainEvent.HasShowPolicyChainHandlersCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.