code: public static List<I_CmsResourceType> getResourceTypes() {
  
          List<I_CmsResourceType> res = new ArrayList<I_CmsResourceType>();
          for (I_CmsResourceType type : OpenCms.getResourceManager().getResourceTypes()) {
              CmsExplorerTypeSettings typeSetting = OpenCms.getWorkplaceManager().getExplorerTypeSetting(
                  type.getTypeName());
              if (typeSetting != null) {
                  res.add(type);
              }
          }
          return res;
      }
docs: Gets list of resource types.<p>
  
  @return List