Class PartialSyncInfoTooltipRenderer
- java.lang.Object
-
- com.hybris.backoffice.sync.renderers.PartialSyncInfoTooltipRenderer
-
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.impl.XulElement,java.lang.Object,ItemModel>
public class PartialSyncInfoTooltipRenderer extends java.lang.Object implements com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.impl.XulElement,java.lang.Object,ItemModel>
Renderer which adds a tooltip to given component with partial sync info.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLABEL_PARTIAL_SYNC_INFO_UNAVAILABLEstatic java.lang.StringSCLASS_PARTIAL_SYNC_INFOstatic java.lang.StringSCLASS_PARTIAL_SYNC_INFO_JOBstatic java.lang.StringSCLASS_PARTIAL_SYNC_INFO_JOB_NAME
-
Constructor Summary
Constructors Constructor Description PartialSyncInfoTooltipRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.zkoss.zk.ui.ComponentcreateJobSyncInfo(SyncItemJobModel syncJob, java.lang.Boolean inSync)protected org.zkoss.zk.ui.ComponentcreatePartialSyncInfo(PartialSyncInfo partialSync)voidrender(org.zkoss.zul.impl.XulElement component, java.lang.Object configuration, ItemModel itemModel, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)voidsetLabelService(com.hybris.cockpitng.labels.LabelService labelService)voidsetSynchronizationFacade(SynchronizationFacade synchronizationFacade)
-
-
-
Field Detail
-
SCLASS_PARTIAL_SYNC_INFO_JOB
public static final java.lang.String SCLASS_PARTIAL_SYNC_INFO_JOB
- See Also:
- Constant Field Values
-
SCLASS_PARTIAL_SYNC_INFO_JOB_NAME
public static final java.lang.String SCLASS_PARTIAL_SYNC_INFO_JOB_NAME
- See Also:
- Constant Field Values
-
SCLASS_PARTIAL_SYNC_INFO
public static final java.lang.String SCLASS_PARTIAL_SYNC_INFO
- See Also:
- Constant Field Values
-
LABEL_PARTIAL_SYNC_INFO_UNAVAILABLE
public static final java.lang.String LABEL_PARTIAL_SYNC_INFO_UNAVAILABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
render
public void render(org.zkoss.zul.impl.XulElement component, java.lang.Object configuration, ItemModel itemModel, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)- Specified by:
renderin interfacecom.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.impl.XulElement,java.lang.Object,ItemModel>
-
createPartialSyncInfo
protected org.zkoss.zk.ui.Component createPartialSyncInfo(PartialSyncInfo partialSync)
-
createJobSyncInfo
protected org.zkoss.zk.ui.Component createJobSyncInfo(SyncItemJobModel syncJob, java.lang.Boolean inSync)
-
setSynchronizationFacade
public void setSynchronizationFacade(SynchronizationFacade synchronizationFacade)
-
setLabelService
public void setLabelService(com.hybris.cockpitng.labels.LabelService labelService)
-
-