#NEWLINE# def fireEvent( self , eventName ) : #NEWLINE# #INDENT# '\n        @param eventName: Name of the event\n        ' #NEWLINE# eventName = ( eventName + 'Plugin' ) #NEWLINE# for listener in self . listeners : #NEWLINE# #INDENT# if hasattr ( listener , eventName ) : #NEWLINE# #INDENT# eventMethod = getattr ( eventName , eventName ) #NEWLINE# DeferredHandler . add ( eventMethod , [ self ] )