How to use the envisage.ui.tasks.task_factory.TaskFactory function in envisage

To help you get started, we’ve selected a few envisage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github NMGRL / pychron / pychron / system_monitor / tasks / system_monitor_plugin.py View on Github external
def _tasks_default(self):
        return [TaskFactory(name='System Monitor',
                            id='pychron.system_monitor',
                            accelerator='Ctrl+Shift+V',
                            factory=self._task_factory)]
github NMGRL / pychron / pychron / dvc / tasks / dvc_plugin.py View on Github external
def _tasks_default(self):
        return [TaskFactory(id='pychron.experiment_repo.task',
                            name='Repositories',
                            factory=self._repo_factory,
                            image='repo')]
github NMGRL / pychron / pychron / user / tasks / plugin.py View on Github external
def _tasks_default(self):
        return [TaskFactory(id='pychron.users',
                            factory=self._users_task_factory,
                            name='Users',
                            accelerator='Ctrl+Shift+U',
                            )]
github NMGRL / pychron / pychron / spectrometer / tasks / base_spectrometer_plugin.py View on Github external
def _tasks_default(self):
        ts = [TaskFactory(id='pychron.spectrometer',
                          task_group='hardware',
                          factory=self._task_factory,
                          accelerator="Ctrl+'",
                          name='Spectrometer',
                          image='spectrum_emission'),
              TaskFactory(id='pychron.mass_calibration',
                          factory=self._mass_cal_task_factory,
                          name='Mass Calibration',
                          accelerator='Ctrl+Shift+M'),
              TaskFactory(id='pychron.spectrometer.scan_inspector',
                          factory=self._inspector_task_factory,
                          name='Scan Inspector')]
        return ts
github NMGRL / pychron / pychron / spectrometer / tasks / base_spectrometer_plugin.py View on Github external
def _tasks_default(self):
        ts = [TaskFactory(id='pychron.spectrometer',
                          task_group='hardware',
                          factory=self._task_factory,
                          accelerator="Ctrl+'",
                          name='Spectrometer',
                          image='spectrum_emission'),
              TaskFactory(id='pychron.mass_calibration',
                          factory=self._mass_cal_task_factory,
                          name='Mass Calibration',
                          accelerator='Ctrl+Shift+M'),
              TaskFactory(id='pychron.spectrometer.scan_inspector',
                          factory=self._inspector_task_factory,
                          name='Scan Inspector')]
        return ts
github NMGRL / pychron / pychron / pipeline / tasks / plugin.py View on Github external
def _tasks_default(self):
        return [TaskFactory(id='pychron.pipeline.task',
                            name='Pipeline',
                            accelerator='Ctrl+p',
                            factory=self._pipeline_factory)]
github NMGRL / pychron / pychron / lasers / tasks / plugins / chromium_co2.py View on Github external
def _tasks_default(self):
        return [TaskFactory(id=self.id,
                            task_group='hardware',
                            factory=self._task_factory,
                            name=self.task_name,
                            image='laser',
                            accelerator=self.accelerator)]
github NMGRL / pychron / pychron / logger / tasks / logger_plugin.py View on Github external
def _tasks_default(self):
        return [TaskFactory(id=self.id,
                            factory=self._task_factory,
                            name='Logger')]
github NMGRL / pychron / pychron / workspace / tasks / workspace_plugin.py View on Github external
def _tasks_default(self):
        wt = TaskFactory(factory=self._workspace_task_factory,
                         id='pychron.workspace',
                         name='Workspace',
                         # task_group=task_group,
                         accelerator='Ctrl+5',
                         # image=image,
                         # include_view_menu=include_view_menu or accelerator
        )
        tasks = [wt, ]
        return tasks
github NMGRL / pychron / pychron / dashboard / tasks / server / plugin.py View on Github external
def _tasks_default(self):
        return [TaskFactory(id='pychron.dashboard.server',
                            name='Dashboard Server',
                            accelerator='Ctrl+4',
                            factory=self._factory)]