envisage.composite_plugin_manager module

A plugin manager composed of other plugin managers!

class envisage.composite_plugin_manager.CompositePluginManager[source]

Bases: HasTraits

A plugin manager composed of other plugin managers!

e.g:

plugin_manager = CompositePluginManager(
     plugin_managers = [
         EggBasketPluginManager(...),
         PackagePluginManager(...),
     ]
)
add_plugin(plugin)[source]

Add a plugin to the manager.

get_plugin(plugin_id)[source]

Return the plugin with the specified Id.

remove_plugin(plugin)[source]

Remove a plugin from the manager.

start()[source]

Start the plugin manager.

start_plugin(plugin=None, plugin_id=None)[source]

Start the specified plugin.

stop()[source]

Stop the plugin manager.

stop_plugin(plugin=None, plugin_id=None)[source]

Stop the specified plugin.