code: private List buildResourceTypeSelectWidgetList() {
  
          List fileFormats = new ArrayList();
          // get all OpenCms resource types
          List resourceTypes = OpenCms.getResourceManager().getResourceTypes();
          // put for every resource type type id and name into list object for select widget
          Iterator iter = resourceTypes.iterator();
          while (iter.hasNext()) {
              I_CmsResourceType type = (I_CmsResourceType)iter.next();
              // only xml resource types
              if (type.isDirectEditable() && !type.getTypeName().toUpperCase().equals("JSP")) {
                  CmsSelectWidgetOption option = new CmsSelectWidgetOption(
                      new Integer(type.getTypeId()).toString(),
                      false,
                      type.getTypeName());
                  fileFormats.add(option);
              }
          }
          return fileFormats;
      }
docs: Builds the file format select widget list.<p>
  
  @return File format select widget list