Class CommentsSectionRenderer

java.lang.Object
de.hybris.platform.cockpit.components.editorarea.renderer.CommentsSectionRenderer
All Implemented Interfaces:
SectionRenderer

public class CommentsSectionRenderer extends Object implements SectionRenderer
  • 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:
      render in interface SectionRenderer
    • restoreOpenedState

      protected boolean restoreOpenedState(org.zkoss.zul.Tree tree, List<List<Integer>> openedNodes)
    • getCommentService

      public CommentService getCommentService()
    • createSeparator

      protected org.zkoss.zul.Separator createSeparator()
    • getCommentActionConfiguration

      public ActionColumnConfiguration getCommentActionConfiguration()
    • formatModifiedDate

      protected String formatModifiedDate(Date modifiedDate)
    • getOpenedNodes

      protected List<List<Integer>> getOpenedNodes(org.zkoss.zul.Tree tree, int depth)
    • getPathToRoot

      protected List<Integer> getPathToRoot(org.zkoss.zul.Treeitem item)
    • openPath

      protected boolean openPath(org.zkoss.zul.Tree tree, List<Integer> path)
    • setWidths

      public void setWidths(String[] widths)
    • getWidths

      public String[] getWidths()
    • setCommunicationBrowserModel

      public void setCommunicationBrowserModel(CommunicationBrowserModel communicationBrowserModel)
      Parameters:
      communicationBrowserModel - the communicationBrowserModel to set
    • getCommunicationBrowserModel

      public CommunicationBrowserModel getCommunicationBrowserModel()
      Returns:
      the communicationBrowserModel
    • getCockpitCommentService

      public CockpitCommentService getCockpitCommentService()
      Returns:
      the cockpitCommentService
    • getTypeService

      public TypeService getTypeService()
      Returns:
      the typeService
    • getValueService

      public ValueService getValueService()
      Returns:
      the valueService
    • getAddCommentButtonEventListener

      protected org.zkoss.zk.ui.event.EventListener getAddCommentButtonEventListener(org.zkoss.zul.Div captionDiv, List<TypedObject> relatedItemList)
    • setTooltipRenderer

      public void setTooltipRenderer(TooltipRenderer tooltipRenderer)