Class CommentsSectionRenderer
java.lang.Object
de.hybris.platform.cockpit.components.editorarea.renderer.CommentsSectionRenderer
- All Implemented Interfaces:
SectionRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.zkoss.zul.Separatorprotected StringformatModifiedDate(Date modifiedDate) protected org.zkoss.zk.ui.event.EventListenergetAddCommentButtonEventListener(org.zkoss.zul.Div captionDiv, List<TypedObject> relatedItemList) getOpenedNodes(org.zkoss.zul.Tree tree, int depth) getPathToRoot(org.zkoss.zul.Treeitem item) String[]protected booleanvoidrender(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section) protected booleanrestoreOpenedState(org.zkoss.zul.Tree tree, List<List<Integer>> openedNodes) voidsetCommunicationBrowserModel(CommunicationBrowserModel communicationBrowserModel) voidsetTooltipRenderer(TooltipRenderer tooltipRenderer) void
-
Constructor Details
-
CommentsSectionRenderer
public CommentsSectionRenderer()
-
-
Method Details
-
render
public void render(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section) - Specified by:
renderin interfaceSectionRenderer
-
restoreOpenedState
-
getCommentService
-
createSeparator
protected org.zkoss.zul.Separator createSeparator() -
getCommentActionConfiguration
-
formatModifiedDate
-
getOpenedNodes
-
getPathToRoot
-
openPath
-
setWidths
-
getWidths
-
setCommunicationBrowserModel
- Parameters:
communicationBrowserModel- the communicationBrowserModel to set
-
getCommunicationBrowserModel
- Returns:
- the communicationBrowserModel
-
getCockpitCommentService
- Returns:
- the cockpitCommentService
-
getTypeService
- Returns:
- the typeService
-
getValueService
- Returns:
- the valueService
-
getAddCommentButtonEventListener
protected org.zkoss.zk.ui.event.EventListener getAddCommentButtonEventListener(org.zkoss.zul.Div captionDiv, List<TypedObject> relatedItemList) -
setTooltipRenderer
-