envisage.i_plugin_manager module¶
The plugin manager interface.
- class envisage.i_plugin_manager.IPluginManager(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]¶
Bases:
Interface
The plugin manager interface.
- get_plugin(plugin_id)[source]¶
Return the plugin with the specified Id.
Return None if no such plugin exists.
- plugin_added = Event(PluginEvent)¶
Fired when a plugin has been added to the manager.
- plugin_removed = Event(PluginEvent)¶
Fired when a plugin has been removed from the manager.
- start_plugin(plugin=None, plugin_id=None)[source]¶
Start the specified plugin.
If a plugin is specified then start it.
If no plugin is specified then the Id is used to look up the plugin and then start it. If no such plugin exists then a ‘ValueError’ exception is raised.