Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
The plugin activator interface.

A plugin activator is really just a collection of two strategies - one
to start the plugin and one to stop it.

We use an activator so that the framework can implement default start and
stop strategies without forcing the plugin writer to call 'super' if they
override the 'start' and 'stop' methods on 'IPlugin'.

I'm not sure that having to call 'super' is such a burden, but some people(more...)

src/e/n/envisage-HEAD/envisage/tests/plugin_test_case.py   envisage(Download)
# Enthought library imports.
from envisage.api import Application, ExtensionPoint
from envisage.api import IPluginActivator, Plugin, contributes_to
from traits.api import HasTraits, Instance, Int, Interface, List
from traits.api import provides

src/e/n/envisage-4.4.0/envisage/tests/plugin_test_case.py   envisage(Download)
# Enthought library imports.
from envisage.api import Application, ExtensionPoint
from envisage.api import IPluginActivator, Plugin, contributes_to
from traits.api import HasTraits, Instance, Int, Interface, List
from traits.api import implements