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

All Samples(10)  |  Call(5)  |  Derive(0)  |  Import(5)

src/e/n/envisage-HEAD/examples/plugins/tasks/attractors/attractors_plugin.py   envisage(Download)
# Enthought library imports.
from envisage.api import Plugin
from envisage.ui.tasks.api import TaskFactory
from traits.api import List
 
    def _tasks_default(self):
        from visualize_2d_task import Visualize2dTask
        from visualize_3d_task import Visualize3dTask
 
        return [ TaskFactory(id = 'example.attractors.task_2d',
                             name = '2D Visualization',
                             factory = Visualize2dTask),
 
                 TaskFactory(id = 'example.attractors.task_3d',

src/e/n/envisage-HEAD/envisage/plugins/tasks/python_shell_plugin.py   envisage(Download)
from pyface.tasks.contrib.python_shell import PythonShellTask
from envisage.api import Plugin, ExtensionPoint, IExtensionRegistry
from envisage.ui.tasks.api import TaskFactory
 
logger = logging.getLogger()
    def _tasks_default(self):
        return [
            TaskFactory(
                id='envisage.plugins.tasks.python_shell_task',
                name='Python Shell',

src/e/n/envisage-4.4.0/envisage/plugins/tasks/python_shell_plugin.py   envisage(Download)
from pyface.tasks.contrib.python_shell import PythonShellTask
from envisage.api import Plugin, ExtensionPoint, IExtensionRegistry
from envisage.ui.tasks.api import TaskFactory
 
logger = logging.getLogger()
    def _tasks_default(self):
        return [
            TaskFactory(
                id='envisage.plugins.tasks.python_shell_task',
                name='Python Shell',

src/p/i/pikos-HEAD/pikos/live/pikos_plugin.py   pikos(Download)
# Enthought library imports.
from envisage.api import Plugin
from envisage.ui.tasks.api import TaskFactory
from traits.api import List, Instance
 
    def _tasks_default(self):
        from pikos.live.pikos_task import PikosTask
        return [
            TaskFactory(
                id='pikos.live.pikos_task',

src/e/n/envisage-HEAD/examples/plugins/tasks/attractors/attractors_preferences.py   envisage(Download)
# Enthought library imports.
from envisage.ui.tasks.api import PreferencesPane, TaskFactory
from apptools.preferences.api import PreferencesHelper
from traits.api import Bool, Dict, Enum, List, Str, Unicode
from traitsui.api import EnumEditor, HGroup, VGroup, Item, Label, \