class cytoflowgui.flow_task.FlowTaskPane(*args, **kwargs)[source]#

Bases: Unimplemented

The center pane for the UI; contains the matplotlib canvas for plotting data views.

id = 'cytoflowgui.flow_task_pane'#
name = 'Cytometry Data Viewer'#
model = <traits.trait_types.Instance object>#

The shared LocalWorkflow model. Set by the task factory

handler = <traits.trait_types.Instance object>#

The shared WorkflowController. Set by the task factory

layout = <traits.trait_types.Instance object>#

The main layout

canvas = <traits.trait_types.Instance object>#

The local matplotlib canvas, an instance of FigureCanvasQTAggLocal

create(parent)[source]#

Create a layout for the tab widget and the main view

activate()[source]#

Activate this task by adding the canvas widget to the task pane layout

class cytoflowgui.flow_task.FlowTask[source]#

Bases: Task

This class coordinates all the views and panels on the main model. Thus, you can think of it as an MVC controller - this is where all the UI handlers for things like the menu and menu bar buttons are.

id#

This tasks’s GUID

name#

This task’s name

model#

The shared LocalWorkflow model

handler#

The shared WorkflowController controller

workflow_pane#

The workflow dock pane

view_pane#

The view configuration dock pane

browser_pane#

The experiment browser dock pane

help_pane#

The help dock pane

plot_params_pane#

The plot parameters dock pane

op_plugins#

The operation plugins

view_plugins#

The view plugins

menu_bar#

The menu bar schema

tool_bars#

The tool bar schema

filename#

The file to save to if the user clicks “save” and has already clicked “open” or “save as”.

initialized()[source]#

Called when the task is about to be activated in a TaskWindow for the first time. Called before activated. If a filename was given on the command line, load it.

activated()[source]#

Called after the task has been activated in a TaskWindow. Initialize the model with an import operation and activate the central pane.

create_central_pane()[source]#

Initialize the toolbar image size and return the central FlowTaskPane

create_dock_panes()[source]#

Create and initialize the dock panes

on_new()[source]#

Create a new workflow when the “New…” button or menu item is clicked

on_open()[source]#

Shows a dialog to open a file.

open_file(path)[source]#

Load a new workflow from a file

on_save()[source]#

Save the workflow to the current filename

on_save_as()[source]#

Save the workflow to a different file

on_export()[source]#

Switch to the ExportTask task

on_notebook()[source]#

Shows a dialog to export the workflow to an Jupyter notebook

on_prefs()[source]#

Event handler for the “preferences” button – currently, do nothing

on_docs()[source]#

Event handler for the “Online documentation….” menu item. Opens a webbrowser to the online manual at readthedocs.io

on_problem()[source]#

Event handler for the bug report button & menu item. Saves the in-memory log to disk, then opens a webbrowser to the new issue page on GitHub.

on_toggle_workflow()[source]#

Toggle the visibility of the workflow pane

on_toggle_view()[source]#

Toggle the visibility of the view properties pane

on_toggle_plot_params()[source]#

Toggle the visibility of the plot parameters pane

on_toggle_browser()[source]#

Toggle the visiblity of the experiment browser pane

on_toggle_help()[source]#

Toggle the visiblity of the help pane

on_about()[source]#

Event handler for “About…” menu item. Shows an about dialog box.

save_notebook(workflow, path)[source]#

Saves the workflow to a Jupyter notebook.

show_toolbar_names(_)[source]#
class cytoflowgui.flow_task.FlowTaskPlugin[source]#

Bases: Plugin

An Envisage plugin wrapping FlowTask

PREFERENCES = 'envisage.preferences'#
PREFERENCES_PANES = 'envisage.ui.tasks.preferences_panes'#
TASKS = 'envisage.ui.tasks.tasks'#