/** * Gets a pluggable editor for a particular object class name. * * @param ocName the object class name to look up * @return a corresponding editor, or null if none exists. */ PluggableEditor getEditor(String ocName) { ocName = ocName.toLowerCase(); Object editorFromHash = editors.get(PACKAGEPREFIX + ocName); if (editorFromHash != null) return castToPluggableEditor(editorFromHash, ocName); // get it from storage return loadEditorFromDisk(PACKAGEPREFIX + ocName); // may be null }