code: void displayBrokenLinks() {
  
          CmsObject cms = A_CmsUI.getCmsObject();
          m_resourceBox.removeAllComponents();
          m_deleteResource.setValue(
              CmsVaadinUtils.getMessageText(org.opencms.workplace.commons.Messages.GUI_DELETE_MULTI_CONFIRMATION_0));
          m_okButton.setVisible(true);
          boolean canIgnoreBrokenLinks = OpenCms.getWorkplaceManager().getDefaultUserSettings().isAllowBrokenRelations()
              || OpenCms.getRoleManager().hasRole(cms, CmsRole.VFS_MANAGER);
          try {
              Multimap<CmsResource, CmsResource> brokenLinks = getBrokenLinks(
                  cms,
                  m_context.getResources(),
                  CmsResource.DELETE_REMOVE_SIBLINGS.equals(m_deleteSiblings.getValue()));
              if (brokenLinks.isEmpty()) {
                  m_linksLabel.setVisible(false);
                  String noLinksBroken = CmsVaadinUtils.getMessageText(
                      org.opencms.workplace.commons.Messages.GUI_DELETE_RELATIONS_NOT_BROKEN_0);
                  m_resourceBox.addComponent(new Label(noLinksBroken));
              } else {
                  if (!canIgnoreBrokenLinks) {
                      m_deleteResource.setValue(
                          CmsVaadinUtils.getMessageText(
                              org.opencms.workplace.commons.Messages.GUI_DELETE_RELATIONS_NOT_ALLOWED_0));
                      m_okButton.setVisible(false);
                  }
                  for (CmsResource source : brokenLinks.keySet()) {
                      m_resourceBox.addComponent(new CmsResourceInfo(source));
                      for (CmsResource target : brokenLinks.get(source)) {
                          m_resourceBox.addComponent(indent(new CmsResourceInfo(target)));
                      }
  
                  }
              }
          } catch (CmsException e) {
              m_context.error(e);
              return;
          }
      }
docs: Displays the broken links.<p>