#NEWLINE# def _perform_add_filter( self ) : #NEWLINE# #INDENT# object = self . engine . current_selection #NEWLINE# if isinstance ( object , AdderNode ) : #NEWLINE# #INDENT# object = object . object #NEWLINE# #UNINDENT# adder = FilterAdderNode ( object = object ) #NEWLINE# adder . edit_traits ( view = adder . dialog_view ( ) )