cytoflowgui.op_plugins.i_op_plugin

class cytoflowgui.op_plugins.i_op_plugin.IOperationPlugin(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: traits.has_traits.Interface

id

The Envisage ID used to refer to this plugin

Type

Constant

operation_id

Same as the id attribute of the IOperation this plugin wraps.

Type

Constant

short_name

The operation’s short name - for menus and toolbar tool tips

Type

Constant

get_operation()[source]

Makes an instance of the IWorkflowOperation that this plugin wraps.

Returns

Return type

IWorkflowOperation

get_handler(model)[source]

Makes an instance of a Controller for the operation.

Parameters

model (IWorkflowOperation) – The model that this handler handles.

Returns

Return type

traitsui.handler.Controller

get_icon()[source]

Gets the icon for this operation.

Returns

The SVG icon

Return type

pyface.i_image_resource.IImageResource

get_help()[source]

Gets the HTML help text for this plugin, deriving the filename from the class name. Probably best to use the default implementation in cytoflowgui.op_plugins.op_plugin_base.PluginHelpMixin

Returns

The HTML help, in a single string.

Return type

string

class cytoflowgui.op_plugins.i_op_plugin.OpPluginManager[source]

Bases: envisage.plugin.Plugin