envisage.provider_extension_registry module

An extension registry implementation with multiple providers.

class envisage.provider_extension_registry.ProviderExtensionRegistry[source]

Bases: envisage.extension_registry.ExtensionRegistry

An extension registry implementation with multiple providers.

add_provider(provider)[source]

Add an extension provider.

get_providers()[source]

Return all of the providers in the registry.

remove_provider(provider)[source]

Remove an extension provider.

Raise a ‘ValueError’ if the provider is not in the registry.

set_extensions(extension_point_id, extensions)[source]

Set the extensions to an extension point.