#NEWLINE# def __init__( self , viewComponent ) : #NEWLINE# #INDENT# super ( EditMediator , self ) . __init__ ( EditMediator . NAME , viewComponent ) #NEWLINE# self . viewComponent . mediator = self #NEWLINE# self . edit_remote_proxy = self . facade . retrieveProxy ( model . PostRemoteProxy . NAME ) #NEWLINE# self . viewComponent . edit_button . addClickListener ( self . edit_post ) #NEWLINE# self . viewComponent . edit_cancel_button . addClickListener ( self . on_edit_close )