code: private void setResourceTypes(Map<String, String[]> types) {
  
          if ((types == null) || (types.size() == 0)) {
              setValidConfiguration(false);
              LOG.error(Messages.get().getBundle().key(Messages.LOG_NO_RESOURCE_TYPES_0));
          }
          m_resTypes = types;
      }
docs: Sets the valid resource types of the editor.<p>
  
  @param types the valid resource types of the editor