Class AbstractWorkflowsListRenderer<PARENT extends org.zkoss.zul.Listitem,CONFIG,DATA extends WorkflowModel>
java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<PARENT,CONFIG,DATA>
com.hybris.backoffice.widgets.workflows.renderer.AbstractWorkflowsListRenderer<PARENT,CONFIG,DATA>
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<PARENT,,CONFIG, DATA> com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<PARENT,CONFIG, DATA>
- Direct Known Subclasses:
DefaultPlannedWorkflowsRenderer,DefaultRunningWorkflowsRenderer
public abstract class AbstractWorkflowsListRenderer<PARENT extends org.zkoss.zul.Listitem,CONFIG,DATA extends WorkflowModel>
extends com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<PARENT,CONFIG,DATA>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.zkoss.zul.DivcreateContent(WorkflowModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager wim) protected org.zkoss.zk.ui.HtmlBasedComponentcreateTitle(PARENT parent, CONFIG config, DATA data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected org.zkoss.zul.ButtoncreateTitleButton(DATA data, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected StringgetAttachmentsLabelValue(String labelKey, Long noOfAttachments) protected abstract com.hybris.cockpitng.common.renderer.AbstractCustomMenuActionRenderer<org.zkoss.zul.Div,CONFIG, DATA> protected StringgetWorkflowName(DATA data) protected voidonTitleClick(WorkflowModel data, com.hybris.cockpitng.engine.WidgetInstanceManager wim) voidrender(PARENT parent, CONFIG config, DATA data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) protected voidrenderThreeDots(PARENT parent, CONFIG config, DATA data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager, org.zkoss.zul.Div div) protected voidupdateNoOfAttachmentsLabel(com.hybris.cockpitng.engine.WidgetInstanceManager wim, WorkflowModel model, org.zkoss.zul.Label noOfAttachmentsLabel) Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer
addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer
render
-
Field Details
-
SCLASS_WORKFLOWS_LIST_CONTENT
- See Also:
-
SCLASS_WORKFLOWS_LIST_CONTENT_BOTTOM
- See Also:
-
SCLASS_WORKFLOWS_LIST_CONTENT_TOP
- See Also:
-
SCLASS_WORKFLOWS_LIST_ITEM
- See Also:
-
SCLASS_WORKFLOWS_LIST_TITLE
- See Also:
-
SCLASS_TEXT_BUTTON
- See Also:
-
SCLASS_WORKFLOWS_LIST_INFO
- See Also:
-
LABEL_WORKFLOWS_ATTACHMENT
- See Also:
-
LABEL_WORKFLOWS_ATTACHMENTS
- See Also:
-
-
Constructor Details
-
AbstractWorkflowsListRenderer
public AbstractWorkflowsListRenderer()
-
-
Method Details
-
render
-
createContent
protected abstract org.zkoss.zul.Div createContent(WorkflowModel data, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager wim) -
renderThreeDots
-
getThreeDotsRenderer
-
createTitle
-
createTitleButton
protected org.zkoss.zul.Button createTitleButton(DATA data, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) -
getWorkflowName
-
onTitleClick
protected void onTitleClick(WorkflowModel data, com.hybris.cockpitng.engine.WidgetInstanceManager wim) -
updateNoOfAttachmentsLabel
protected void updateNoOfAttachmentsLabel(com.hybris.cockpitng.engine.WidgetInstanceManager wim, WorkflowModel model, org.zkoss.zul.Label noOfAttachmentsLabel) -
getAttachmentsLabelValue
-