docs: protected void fill() {
  
          m_list.clear();
          List<CmsResourceStatusRelationBean> relationBeans = getRelationBeans();
          if (relationBeans.isEmpty()) {
              CmsSimpleListItem item = new CmsSimpleListItem();
              item.add(new Label(getEmptyMessage()));
              m_list.add(item);
          } else {
              for (CmsResourceStatusRelationBean relationBean : relationBeans) {
                  CmsListItemWidget itemWidget = new CmsListItemWidget(relationBean.getInfoBean());
                  CmsListItem item = new CmsListItem(itemWidget);
                  CmsContextMenuButton button = new CmsContextMenuButton(
                      relationBean.getStructureId(),
                      m_menuHandler,
                      AdeContext.resourceinfo);
                  item.getListItemWidget().addButton(button);
                  final CmsResourceStatusRelationBean currentRelationBean = relationBean;
                  final boolean isContainerpage = CmsGwtConstants.TYPE_CONTAINERPAGE.equals(
                      relationBean.getInfoBean().getResourceType());
                  final boolean isXmlContent = relationBean.isXmlContent();
                  final boolean isEditable = (isXmlContent || isContainerpage)
                      && relationBean.getPermissionInfo().hasWritePermission()
                      && !currentRelationBean.getSitePath().matches(DETAIL_CONTAINER_PATTERN);
                  if (isEditable) {
  
                      m_editButton = new CmsPushButton();
                      m_editButton.setImageClass(I_CmsButton.PEN_SMALL);
                      m_editButton.setButtonStyle(ButtonStyle.FONT_ICON, null);
                      m_editButton.setTitle(
                          org.opencms.gwt.client.Messages.get().key(
                              org.opencms.gwt.client.Messages.GUI_BUTTON_ELEMENT_EDIT_0));
                      if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(relationBean.getPermissionInfo().getNoEditReason())) {
                          m_editButton.disable(relationBean.getPermissionInfo().getNoEditReason());
                      } else {
                          m_editButton.setEnabled(true);
                      }
                      item.getListItemWidget().addButton(m_editButton);
                      m_editButton.addClickHandler(new ClickHandler() {
  
                          public void onClick(ClickEvent event) {
  
                              if (isContainerpage) {
                                  Window.open(currentRelationBean.getLink(), "_self", "");
                              } else {
                                  CmsEditableData editableData = new CmsEditableData();
                                  editableData.setElementLanguage(CmsCoreProvider.get().getLocale());
                                  editableData.setStructureId(currentRelationBean.getStructureId());
                                  editableData.setSitePath(currentRelationBean.getSitePath());
                                  CmsContentEditorDialog.get().openEditDialog(
                                      editableData,
                                      false,
                                      null,
                                      new DialogOptions(),
                                      new I_CmsContentEditorHandler() {
  
                                          public void onClose(
                                              String sitePath,
                                              CmsUUID structureId,
                                              boolean isNew,
                                              boolean hasChangedSettings) {
  
                                              if (m_popup != null) {
                                                  m_popup.hide();
                                              }
                                          }
                                      });
                                  ((CmsPushButton)event.getSource()).clearHoverState();
                              }
                          }
                      });
                  }
  
                  if (isContainerpage) {
                      if (relationBean.getLink() != null) {
                          final String link = relationBean.getLink();
                          itemWidget.setIconCursor(Cursor.POINTER);
                          itemWidget.addIconClickHandler(new ClickHandler() {
  
                              public void onClick(ClickEvent e) {
  
                                  Window.open(link, "_blank", "");
                              }
                          });
                      }
                  }
                  m_list.add(item);
              }
          }
          if ((m_mode == Mode.sources) && !m_statusBean.getOtherSiteRelationSources().isEmpty()) {
              m_otherSitesList = createList(Messages.get().key(Messages.GUI_RESOURCEINFO_OTHERSITES_LEGEND_0));
              for (CmsResourceStatusRelationBean relationBean : m_statusBean.getOtherSiteRelationSources()) {
                  CmsListItemWidget itemWidget = new CmsListItemWidget(relationBean.getInfoBean());
                  CmsListItem item = new CmsListItem(itemWidget);
                  m_otherSitesList.add(item);
              }
          }
  
          m_list.truncate("RES_INFO", CmsPopup.DEFAULT_WIDTH - 5);
          if (m_otherSitesList != null) {
              m_otherSitesList.truncate("RES_INFO", CmsPopup.DEFAULT_WIDTH - 5);
          }
  
      }