code: public void addRangeRestriction(Class<? extends BioPAXElement> domain, Set<Class<? extends BioPAXElement>> ranges)
  	{
  		this.restrictedRanges.put(domain, ranges);
  	}
docs: This method adds a range restriction to the property editor. e.g. All entityReferences of Proteins should be
  ProteinReferences.
  
  Note: All restrictions specified in the BioPAX specification is automatically created by the {@link EditorMap}
  during initialization. Use this method if you need to add restrictions that are not specified in
  the model.
  @param domain subdomain of the property to be restricted
  @param ranges valid ranges for this subdomain.