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

All Samples(55)  |  Call(26)  |  Derive(0)  |  Import(29)
The Envisage core plugin.

The core plugin offers facilities that are generally useful when building
extensible applications such as adapters, categories and hooks etc. It does
not contain anything to do with user interfaces!

The core plugin should be started before any other plugin. It is up to
the plugin manager to do this.

src/e/n/envisage-HEAD/examples/plugins/tasks/attractors/run.py   envisage(Download)
# Standard library imports.
import logging
 
# Plugin imports.
from envisage.core_plugin import CorePlugin
    logging.basicConfig(level=logging.WARNING)
 
    plugins = [ CorePlugin(), TasksPlugin(), AttractorsPlugin() ]
    app = AttractorsApplication(plugins=plugins)
    app.run()

src/e/n/envisage-HEAD/examples/plugins/workbench/Lorenz/run.py   envisage(Download)
 
# Enthought plugins.
from envisage.core_plugin import CorePlugin
from envisage.ui.workbench.workbench_plugin import WorkbenchPlugin
 
    lorenz_application = LorenzApplication(
        plugins=[
            CorePlugin(), WorkbenchPlugin(), LorenzPlugin(), LorenzUIPlugin()
        ]
    )

src/e/n/envisage-HEAD/examples/plugins/workbench/AcmeLab/run.py   envisage(Download)
 
# Enthought plugins.
from envisage.core_plugin import CorePlugin
from envisage.developer.developer_plugin import DeveloperPlugin
from envisage.developer.ui.developer_ui_plugin import DeveloperUIPlugin
    acmelab = Acmelab(
        plugins=[
            CorePlugin(),
            WorkbenchPlugin(),
            AcmeWorkbenchPlugin(),

src/e/n/envisage-HEAD/examples/plugins/single_project/sample_project/run.py   envisage(Download)
 
# Enthought plugins.
from envisage.core_plugin import CorePlugin
from envisage.developer.developer_plugin import DeveloperPlugin
from envisage.developer.ui.developer_ui_plugin import DeveloperUIPlugin
        id = 'testProject_extended',
        plugins=[
            CorePlugin(),
            WorkbenchPlugin(),
            DeveloperPlugin(),

src/e/n/envisage-HEAD/examples/MOTD/run.py   envisage(Download)
 
# Enthought plugins.
from envisage.core_plugin import CorePlugin
 
# Example plugins.
    application = Application(
        id      = 'acme.motd',
        plugins = [CorePlugin(), MOTDPlugin(), SoftwareQuotesPlugin()]
    )
 

src/m/a/mayavi-4.3.1/examples/tvtk/plugins/test.py   mayavi(Download)
from envisage.api import Plugin
from envisage.ui.workbench.api import WorkbenchApplication
from envisage.core_plugin import CorePlugin
from envisage.ui.workbench.workbench_plugin import WorkbenchPlugin
from envisage.plugins.python_shell.python_shell_plugin import PythonShellPlugin
def main():
    """The main application is created and launched here."""
    # Setup the logger.
 
    plugins = [CorePlugin(),

src/m/a/mayavi-HEAD/examples/tvtk/plugins/test.py   mayavi(Download)
from envisage.api import Plugin
from envisage.ui.workbench.api import WorkbenchApplication
from envisage.core_plugin import CorePlugin
from envisage.ui.workbench.workbench_plugin import WorkbenchPlugin
from envisage.plugins.python_shell.python_shell_plugin import PythonShellPlugin
def main():
    """The main application is created and launched here."""
    # Setup the logger.
 
    plugins = [CorePlugin(),

src/e/t/etsdevtools-HEAD/examples/developer/run.py   etsdevtools(Download)
 
from envisage.ui.workbench.api import WorkbenchApplication
from envisage.core_plugin import CorePlugin
from envisage.ui.workbench.workbench_plugin import \
         WorkbenchPlugin
    # Create an Envisage application:
    application = WorkbenchApplication(
        plugins = [CorePlugin(), WorkbenchPlugin(), PythonShellPlugin(),
                   EnthoughtDeveloperPlugin(),
                   FBIPlugin()

src/p/i/pikos-HEAD/pikos/live/main.py   pikos(Download)
from traits.etsconfig.etsconfig import ETSConfig
ETSConfig.toolkit = 'qt4'
 
from envisage.core_plugin import CorePlugin
from envisage.ui.tasks.tasks_plugin import TasksPlugin
def main(argv):
    plugins = [CorePlugin(), TasksPlugin(), PikosPlugin()]
    app = PikosApplication(plugins)
    app.run()
 

src/m/a/mayavi-4.3.1/mayavi/plugins/app.py   mayavi(Download)
def get_non_gui_plugin_classes():
    """Get list of basic mayavi plugin classes that do not add any views or
    actions."""
    from envisage.core_plugin import CorePlugin
    from envisage.ui.workbench.workbench_plugin import WorkbenchPlugin

  1 | 2  Next