code: private static CmsListItemWidget generateItemWidget(final CmsClientSitemapEntry entry) {
  
          CmsListInfoBean infoBean = getInfoBean(entry, true);
          final CmsListItemWidget itemWidget = new CmsListItemWidget(infoBean);
          itemWidget.setUnselectable();
          itemWidget.setIcon(CmsSitemapView.getInstance().getIconForEntry(entry));
          itemWidget.setTopRightIcon(null, "");
          itemWidget.setIconTitle(
              entry.isSubSitemapType()
              ? Messages.get().key(Messages.GUI_HOVERBAR_GOTO_SUB_0)
              : Messages.get().key(Messages.GUI_HOVERBAR_GOTO_0));
          setAdditionalStyles(entry, itemWidget);
          return itemWidget;
      }
docs: Generates the list item widget for the tree item.<p>
  
  @param entry the sitemap entry
  
  @return the list item widget