java.lang.Object
de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
de.hybris.platform.productcockpit.components.navigationarea.renderer.FavoritesSectionRenderer
All Implemented Interfaces:
SectionRenderer

public class FavoritesSectionRenderer extends AbstractNavigationAreaSectionRenderer
Renderer for favorites section in catalogue perspective
  • Constructor Details

    • FavoritesSectionRenderer

      public FavoritesSectionRenderer()
  • Method Details

    • getSectionPanelModel

      public CatalogNavigationAreaModel getSectionPanelModel()
      Overrides:
      getSectionPanelModel in class AbstractNavigationAreaSectionRenderer
    • createContextMenu

      protected org.zkoss.zul.Menupopup createContextMenu(org.zkoss.zul.Listbox listbox)
    • 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
      Specified by:
      render in class AbstractNavigationAreaSectionRenderer
    • createFavoriteCategoryContext

      protected org.zkoss.zul.Menupopup createFavoriteCategoryContext(FavoriteCategory favorite, org.zkoss.zul.Label label, org.zkoss.zk.ui.Component parent)
      Creates suitable menu for current favorite category
      Parameters:
      favorite - currently processed favorite category
      label - displayed label
      parent -
    • selectionChanged

      protected void selectionChanged(List<ItemModel> newSelected)
    • selectionChanged

      protected void selectionChanged(List<ItemModel> newSelected, boolean doubleClicked)