Workflow Events (events
)¶
-
class
orangecanvas.scheme.events.
WorkflowEvent
[source]¶ Bases:
PyQt5.QtCore.QEvent
-
NodeActivateRequest
= QEvent.Type(...)¶ Node user activate request (e.g. on double click in the canvas GUI)
-
WorkflowResourceChange
= QEvent.Type(...)¶ Workflow resource changed (e.g. work directory, env variable)
-
AnnotationAdded
= QEvent.Type(...)¶
-
AnnotationRemoved
= QEvent.Type(...)¶
-
AnnotationChange
= QEvent.Type(...)¶
-
ActivateParentRequest
= QEvent.Type(...)¶ Request activation (show and raise) of the window containing the workflow view
-
-
class
orangecanvas.scheme.events.
NodeEvent
(etype, node)[source]¶ Bases:
orangecanvas.scheme.events.WorkflowEvent
An event notifying the receiver of an workflow link change.
This event is used with:
Parameters: - etype (QEvent.Type) –
- node (SchemeNode) –
-
node
() → SchemeNode[source]¶ Returns: node – The node instance. Return type: SchemeNode
-
class
orangecanvas.scheme.events.
LinkEvent
(etype, link)[source]¶ Bases:
orangecanvas.scheme.events.WorkflowEvent
An event notifying the receiver of an workflow link change.
This event is used with:
Parameters: - etype (QEvent.Type) –
- link (SchemeLink) – The link subject to change
-
link
() → SchemeLink[source]¶ Returns: link – The link instance. Return type: SchemeLink
-
class
orangecanvas.scheme.events.
AnnotationEvent
(etype, annotation)[source]¶ Bases:
orangecanvas.scheme.events.WorkflowEvent
An event notifying the receiver of an workflow annotation changes
This event is used with:
Parameters: - etype (QEvent.Type) –
- annotation (BaseSchemeAnnotation) – The annotation that is a subject of change.
-
annotation
() → BaseSchemeAnnotation[source]¶ Returns: annotation – The annotation instance. Return type: BaseSchemeAnnotation
-
class
orangecanvas.scheme.events.
WorkflowEnvChanged
(name, newValue, oldValue)[source]¶ Bases:
orangecanvas.scheme.events.WorkflowEvent
An event notifying the receiver of a workflow environment change.
Parameters: - name (str) – The name of the environment property that was changed
- newValue (Any) – The new value
- oldValue (Any) – The old value
See also
Scheme.runtime_env