<s> """<STR_LIT>""" <EOL> from traits . api import Event , HasTraits , provides <EOL> from . extension_point_changed_event import ExtensionPointChangedEvent <EOL> from . i_extension_provider import IExtensionProvider <EOL> @ provides ( IExtensionProvider ) <EOL> class ExtensionProvider ( HasTraits ) : <EOL> """<STR_LIT>""" <EOL> extension_point_changed = Event ( ExtensionPointChangedEvent ) <EOL> def get_extension_points ( self ) : <EOL> """<STR_LIT>""" <EOL> return [ ] <EOL> def get_extensions ( self , extension_point_id ) : <EOL> """<STR_LIT>""" <EOL> return [ ] <EOL> def _fire_extension_point_changed ( <EOL> self , extension_point_id , added , removed , index <EOL> ) : <EOL> """<STR_LIT>""" <EOL> self . extension_point_changed = ExtensionPointChangedEvent ( <EOL> extension_point_id = extension_point_id , <EOL> added = added , <EOL> removed = removed , <EOL> index = index <EOL> ) <EOL> return </s>
