envisage.extension_provider module

The default base class for extension providers.

class envisage.extension_provider.ExtensionProvider[source]

Bases: HasTraits

The default base class for extension providers.

extension_point_changed = Event(ExtensionPointChangedEvent)

The event fired when one of the provider’s extension points has been changed (where ‘changed’ means that the provider has added or removed contributions to or from an extension point).

get_extension_points()[source]

Return the extension points offered by the provider.

get_extensions(extension_point_id)[source]

Return the provider’s extensions to an extension point.