public void openEditor(Object o){
  IEditorTypeFactory factory=typedFactories.get(o.getClass());
  if (factory != null) {
    try {
      factory.openEditorFor(o);
    }
 catch (    Exception e) {
      log.error("Error while opening editor.",e);
      ExceptionUtil.log(e,Messages.EditorFactory_2);
    }
  }
}

public void openEditor ( Object o ) { IEditorTypeFactory factory = typedFactories . get ( o . getClass ( ) ) ; if ( factory != null ) { try { factory . openEditorFor ( o ) ; } catch ( Exception e ) { log . error ( "Error while opening editor." , e ) ; ExceptionUtil . log ( e , Messages . EditorFactory_2 ) ; } } }
checks if an editor factory is registered for the given object type and opens a new editor for it .
