code: protected CmsTreeItem createTreeItem(CmsBrokenLinkBean brokenLinkBean) {
  
          CmsListItemWidget itemWidget = createListItemWidget(brokenLinkBean);
          CmsTreeItem item = new CmsTreeItem(false, itemWidget);
          for (CmsBrokenLinkBean child : brokenLinkBean.getChildren()) {
              CmsListItemWidget childItemWidget = createListItemWidget(child);
              Widget warningImage = FontOpenCms.WARNING.getWidget(20, I_CmsConstantsBundle.INSTANCE.css().colorWarning());
              warningImage.addStyleName(I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().permaVisible());
              childItemWidget.addButton(warningImage);
              childItemWidget.addTitleStyleName(I_CmsLayoutBundle.INSTANCE.linkWarningCss().deletedEntryLabel());
              CmsTreeItem childItem = new CmsTreeItem(false, childItemWidget);
              item.addChild(childItem);
          }
          return item;
      }
docs: Helper method for creating a tree item from a bean.<p>
  
  @param brokenLinkBean the bean containing the data for the tree item
  
  @return a tree item