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

All Samples(16)  |  Call(14)  |  Derive(0)  |  Import(2)
Another plugin that contributes to an extension point! 

src/e/n/envisage-HEAD/envisage/tests/extension_point_changed_test_case.py   envisage(Download)
# We do these as absolute imports to allow nose to run from a different
# working directory.
from envisage.tests.application_test_case import (
    PluginA, PluginB, PluginC, TestApplication, listener
)
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])

src/e/n/envisage-4.4.0/envisage/tests/extension_point_changed_test_case.py   envisage(Download)
# We do these as absolute imports to allow nose to run from a different
# working directory.
from envisage.tests.application_test_case import (
    PluginA, PluginB, PluginC, TestApplication, listener
)
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])
        a = PluginA(); a.on_trait_change(listener, 'x_items')
        b = PluginB()
        c = PluginC()
 
        application = TestApplication(plugins=[a, b, c])