def dispose ( self ):
        self._dispose_items()

        extended_name = self.extended_name.replace('.', ':')
        self.context_object.on_trait_change( self.update_editor_item,
                                 extended_name + '_items?', remove = True )

        super( SimpleEditor, self ).dispose()

    #---------------------------------------------------------------------------
    #  Updates the editor when the object trait changes external to the editor:
    #---------------------------------------------------------------------------
Disposes of the contents of an editor.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/list_editor.py/SimpleEditor.dispose