#NEWLINE# def getTitle( self ) : #NEWLINE# #INDENT# t = GafferUI . EditorWidget . getTitle ( self ) #NEWLINE# if t : #NEWLINE# #INDENT# return t #NEWLINE# #UNINDENT# if ( self . __titleFormat is None ) : #NEWLINE# #INDENT# self . __titleFormat = self . _titleFormat ( ) #NEWLINE# self . __nameChangedConnections = [ ] #NEWLINE# for n in self . __titleFormat : #NEWLINE# #INDENT# if isinstance ( n , Gaffer . GraphComponent ) : #NEWLINE# #INDENT# self . __nameChangedConnections . append ( n . nameChangedSignal ( ) . connect ( Gaffer . WeakMethod ( self . __nameChanged ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# result = '' #NEWLINE# for t in self . __titleFormat : #NEWLINE# #INDENT# if isinstance ( t , basestring ) : #NEWLINE# #INDENT# result += t #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result += t . getName ( ) #NEWLINE# #UNINDENT# #UNINDENT# return result