docs: @SuppressWarnings("deprecation")
      CmsResourceInfo formatResourceType(I_CmsResourceType type) {
  
          CmsExplorerTypeSettings settings = OpenCms.getWorkplaceManager().getExplorerTypeSetting(type.getTypeName());
          Resource icon;
          String title;
          String subtitle;
          if (settings != null) {
              icon = CmsResourceUtil.getBigIconResource(settings, null);
              title = CmsVaadinUtils.getMessageText(settings.getKey());
              if (title.startsWith("???")) {
                  title = type.getTypeName();
              }
              subtitle = type.getTypeName()
                  + " (ID: "
                  + type.getTypeId()
                  + (settings.getReference() != null ? (", " + settings.getReference()) : "")
                  + ")";
          } else {
              icon = CmsResourceUtil.getBigIconResource(
                  OpenCms.getWorkplaceManager().getExplorerTypeSetting("unknown"),
                  null);
              title = type.getTypeName();
              subtitle = type.getTypeName() + " (ID: " + type.getTypeId() + ")";
          }
          CmsResourceInfo info = new CmsResourceInfo(title, subtitle, icon);
          return info;
      }