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

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/e/n/envisage-HEAD/examples/plugins/single_project/sample_project/plugins/single_project/plugin_definition.py   envisage(Download)
# Enthought library imports.
from envisage.api import Plugin, ServiceOffer
from envisage.ui.single_project.api import FactoryDefinition
from traits.api import List
 
    def _factory_definitions_default(self):
        """ Trait initializer. """
        factory_definition = FactoryDefinition(
            class_name = '%s.env_project_factory.EnvProjectFactory' % ID,
            priority = 10,

src/e/n/envisage-HEAD/envisage/ui/single_project/project_plugin.py   envisage(Download)
# Enthought library imports.
from envisage.api import ExtensionPoint, Plugin, ServiceOffer
from envisage.ui.single_project.api import FactoryDefinition
from pyface.action.api import MenuManager
from pyface.workbench.api import Perspective
 
        factory_definition = FactoryDefinition(
            class_name = PKG + '.project_factory.ProjectFactory',
            priority = 0,
        )

src/e/n/envisage-4.4.0/envisage/ui/single_project/project_plugin.py   envisage(Download)
# Enthought library imports.
from envisage.api import ExtensionPoint, Plugin, ServiceOffer
from envisage.ui.single_project.api import FactoryDefinition
from pyface.action.api import MenuManager
from pyface.workbench.api import Perspective
 
        factory_definition = FactoryDefinition(
            class_name = PKG + '.project_factory.ProjectFactory',
            priority = 0,
        )