code: public static IndexedContainer getResourceTypesContainer() {
  
          IndexedContainer types = new IndexedContainer();
          types.addContainerProperty(PropertyId.caption, String.class, null);
          types.addContainerProperty(PropertyId.icon, Resource.class, null);
          types.addContainerProperty(PropertyId.isFolder, Boolean.class, null);
          types.addContainerProperty(PropertyId.isXmlContent, Boolean.class, null);
          for (I_CmsResourceType type : getResourceTypes()) {
              CmsExplorerTypeSettings typeSetting = OpenCms.getWorkplaceManager().getExplorerTypeSetting(
                  type.getTypeName());
              Item typeItem = types.addItem(type);
              typeItem.getItemProperty(PropertyId.caption).setValue(CmsVaadinUtils.getMessageText(typeSetting.getKey()));
              typeItem.getItemProperty(PropertyId.icon).setValue(CmsResourceUtil.getSmallIconResource(typeSetting, null));
              typeItem.getItemProperty(PropertyId.isXmlContent).setValue(
                  Boolean.valueOf(type instanceof CmsResourceTypeXmlContent));
              typeItem.getItemProperty(PropertyId.isFolder).setValue(
                  Boolean.valueOf(type instanceof A_CmsResourceTypeFolderBase));
          }
  
          return types;
      }
docs: Returns the available resource types container.<p>
  
  @return the resource types container