Class WorkflowStatusRenderer<PARENT extends org.zkoss.zk.ui.HtmlBasedComponent,​CONFIG>

  • All Implemented Interfaces:
    com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<PARENT,​CONFIG,​WorkflowModel>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<PARENT,​CONFIG,​WorkflowModel>

    public class WorkflowStatusRenderer<PARENT extends org.zkoss.zk.ui.HtmlBasedComponent,​CONFIG>
    extends com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<PARENT,​CONFIG,​WorkflowModel>
    • Field Detail

      • WORKFLOW_STATUS_UNKNOWN

        protected static final java.lang.String WORKFLOW_STATUS_UNKNOWN
        See Also:
        Constant Field Values
    • Constructor Detail

      • WorkflowStatusRenderer

        public WorkflowStatusRenderer()
    • Method Detail

      • render

        public void render​(PARENT parent,
                           CONFIG config,
                           WorkflowModel workflow,
                           com.hybris.cockpitng.dataaccess.facades.type.DataType dataType,
                           com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      • createStatusIconComponent

        protected org.zkoss.zk.ui.HtmlBasedComponent createStatusIconComponent​(WorkflowStatus workflowStatus)
      • getWorkflowStatusIconCssClass

        protected java.lang.String getWorkflowStatusIconCssClass​(WorkflowStatus workflowStatus)
      • createStatusLabelComponent

        protected org.zkoss.zk.ui.HtmlBasedComponent createStatusLabelComponent​(WorkflowStatus workflowStatus,
                                                                                com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      • getWorkflowStatusName

        protected java.lang.String getWorkflowStatusName​(WorkflowStatus workflowStatus)
      • setWorkflowFacade

        public void setWorkflowFacade​(WorkflowFacade workflowFacade)