Jump to: navigation, search

Difference between revisions of "Workflow Editor"


(Created page with "The Worflow Editor is designed to display and edit Workflows of a single {{UBIK}} object. Technically, it * either reads the Workflow relatio...")
 
(Appearance)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The Worflow Editor is designed to display and edit [[Workflow|Workflows]] of a single {{UBIK}} object. Technically, it
+
The Workflow Editor is designed to display, run and edit [[Workflow|Workflows]] of a single {{UBIK}} object.  
* either reads the [[SYSREL_WORKFLOW|Workflow]] relation of the context object, or
+
* loads its instances if the context object is the [[WORKFLOW|System MetaClass Workflow]]
+
* loads the context object itself if it is a Workflow object
+
  
 
{{ControlInfoBox
 
{{ControlInfoBox
Line 8: Line 5:
 
| name = Workflow Editor
 
| name = Workflow Editor
 
| internalname = CtrlWorkflowEditor
 
| internalname = CtrlWorkflowEditor
| image =  
+
| image = [[File:UI_WorkflowEditor.png|220px]]
 
| imagecaption = Workflow Editor control
 
| imagecaption = Workflow Editor control
 
| purpose = View and edit workflow objects
 
| purpose = View and edit workflow objects
Line 18: Line 15:
  
 
===Appearance===
 
===Appearance===
 +
The Workflow Editor basically features a [[Workflow Designer]] component that can be fed with {{UBIK}} Workflow objects.
 +
 +
When a context object was set, the Workflow Editor
 +
* either reads the [[SYSREL_METAWORKFLOW|Workflow relation]] of the context object, or
 +
* loads its instances (if the context object is the [[WORKFLOW|MetaClass Workflow]])
 +
* loads the context object itself (if it is a Workflow object)
 +
 +
The result will be loaded into the Toolbar, where a Workflow object can be selected. Selecting one will load the Workflow into the designer surface.
  
 
====Design vs view====
 
====Design vs view====
 +
Depending on the type of the context object, the Workflow Editor will either appear in design or in view mode. In the latter case the workflow is readonly and the activity toolbox is hidden. The Workflow Designer is in design mode, if
 +
* The context object is the system MetaClass Workflow
 +
* The context object is an [[instance|Instance]] of the system MetaClass Workflow
 +
 +
For all other object types the Workflow Editor will be in view mode.
 +
 
===Drag & Drop===
 
===Drag & Drop===
The Workflow Editor control is a target for Drag&Drop operations, any object can be dropped on the value field of an editing control if the dragged object matches the data type of the respective property.
+
There is currently no Drag&Drop support other than the internal Drag&Drop of the Workflow Designer.
  
 
==Toolbar==
 
==Toolbar==
Line 30: Line 41:
 
| View Style || Indicates or changes the [[#View Style|View Style]] of the control; changing it will result in reloading of the control  
 
| View Style || Indicates or changes the [[#View Style|View Style]] of the control; changing it will result in reloading of the control  
 
|- align="left"
 
|- align="left"
| Navigate to context object || Attempts to [[Navigation|navigate]] to the current context MetaClass.
+
| Navigate to || Attempts to [[Navigation|navigate]] to the current context object or the currently selected Workflow
 
|- align="left"
 
|- align="left"
 
| Save || Saves the context object.
 
| Save || Saves the context object.
 +
|- align="left"
 +
| Select Workflow|| All possible Workflows for the current context object are listed here; selecting one will immediately load the Workflow into the designer
 +
|- align="left"
 +
| Run || Executes the currently selected Workflow in the main thread
 
|}
 
|}
  
Line 40: Line 55:
 
==View Styles==
 
==View Styles==
 
The Workflow Editor has currently only one View Style.
 
The Workflow Editor has currently only one View Style.
 
===Design===
 
  
 
==Other functionality==
 
==Other functionality==
Line 49: Line 62:
 
* [[Debugger|Code- and Workflow Debugger]]
 
* [[Debugger|Code- and Workflow Debugger]]
  
 
+
[[Category:Workflow]]
[[Category:UBIK Studio Controls]]
+
[[Category:Studio controls]]

Latest revision as of 08:42, 9 March 2015

The Workflow Editor is designed to display, run and edit Workflows of a single UBIK® object.

Workflow Editor
UI WorkflowEditor.png
Workflow Editor control
Name Workflow Editor
Internal Name CtrlWorkflowEditor
Purpose View and edit workflow objects
Context object Any
Version 2.1+

Basics

Appearance

The Workflow Editor basically features a Workflow Designer component that can be fed with UBIK® Workflow objects.

When a context object was set, the Workflow Editor

  • either reads the Workflow relation of the context object, or
  • loads its instances (if the context object is the MetaClass Workflow)
  • loads the context object itself (if it is a Workflow object)

The result will be loaded into the Toolbar, where a Workflow object can be selected. Selecting one will load the Workflow into the designer surface.

Design vs view

Depending on the type of the context object, the Workflow Editor will either appear in design or in view mode. In the latter case the workflow is readonly and the activity toolbox is hidden. The Workflow Designer is in design mode, if

  • The context object is the system MetaClass Workflow
  • The context object is an Instance of the system MetaClass Workflow

For all other object types the Workflow Editor will be in view mode.

Drag & Drop

There is currently no Drag&Drop support other than the internal Drag&Drop of the Workflow Designer.

Toolbar

Item Purpose
View Style Indicates or changes the View Style of the control; changing it will result in reloading of the control
Navigate to Attempts to navigate to the current context object or the currently selected Workflow
Save Saves the context object.
Select Workflow All possible Workflows for the current context object are listed here; selecting one will immediately load the Workflow into the designer
Run Executes the currently selected Workflow in the main thread

Context menu

This control doesn't feature any context menu yet.

View Styles

The Workflow Editor has currently only one View Style.

Other functionality

See also