#NEWLINE# def getTitle( self ) : #NEWLINE# #INDENT# if self . __title : #NEWLINE# #INDENT# return self . __title #NEWLINE# #UNINDENT# c = self . __class__ #NEWLINE# while ( c is not EditorWidget ) : #NEWLINE# #INDENT# if ( 'getTitle' in c . __dict__ ) : #NEWLINE# #INDENT# return '' #NEWLINE# #UNINDENT# c = c . __bases__ [ 0 ] #NEWLINE# #UNINDENT# return IECore . CamelCase . toSpaced ( c . __class__ . __name__ )