#NEWLINE# def _setup_input_events( self , removed , added ) : #NEWLINE# #INDENT# for input in removed : #NEWLINE# #INDENT# input . on_trait_event ( self . update_pipeline , 'pipeline_changed' , remove = True ) #NEWLINE# input . on_trait_event ( self . update_data , 'data_changed' , remove = True ) #NEWLINE# #UNINDENT# for input in added : #NEWLINE# #INDENT# input . on_trait_event ( self . update_pipeline , 'pipeline_changed' ) #NEWLINE# input . on_trait_event ( self . update_data , 'data_changed' )