envisage.plugin_manager module¶
A simple plugin manager implementation.
- class envisage.plugin_manager.PluginManager(plugins=None, **traits)[source]¶
Bases:
HasTraitsA simple plugin manager implementation.
This implementation manages an explicit collection of plugin instances, e.g:
plugin_manager = PluginManager(plugins=[MyPlugin(), YourPlugin()])
Plugins can be added and removed after construction time via the methods ‘add_plugin’ and ‘remove_plugin’.
- application¶
The application that the plugin manager is part of.
- plugin_added¶
Fired when a plugin has been added to the manager.
- plugin_removed¶
Fired when a plugin has been removed from the manager.