code: public EditorDescriptor getEditorDescriptor(Object editorObject) {
  		Class editorClass = editorObject.getClass();
  		EditorDescriptor descriptor = (EditorDescriptor)editorMap.get(editorClass);
  		if(descriptor == null){
  			Iterator it = editorMap.keySet().iterator();
  			while(it.hasNext()){
  				Class klass = (Class)it.next();
  				if(klass.isAssignableFrom(editorClass)){
  					descriptor = (EditorDescriptor)editorMap.get(klass);
  				}
  			}
  		}
  		return descriptor;
  	}
docs: Returns an EditorDescriptor keyed by the class of the
  injected object. If non exists null is returned.