#NEWLINE# def create_editor( self , obj , factory = None ) : #NEWLINE# #INDENT# ' Creates an editor for an object.\n        ' #NEWLINE# if ( factory is None ) : #NEWLINE# #INDENT# factory = self . get_factory ( obj ) #NEWLINE# #UNINDENT# if ( factory is not None ) : #NEWLINE# #INDENT# return factory ( editor_area = self , obj = self ) #NEWLINE# #UNINDENT# return None