UI Action Config
UBIKSTUDIO provides a mechanism to custom Workflows that are be executed after the user performed an action. This action is a trigger for the workflow, and the object he performed the action with, is handed over (as input parameter) for the workflow.
UI (user interface) Action configuration objects are used to configure these Workflows that should be executed after the user performs a certain user action. You can find the standard UI Configuration objects in the "System.Main.Settings" namespace.
Contents
Configuration
Use the Namespace, Name and Description property of the UI Configuration objects to organize your objects.
Action key
The action key defines for which UI Action the configuration object is defined for. Supported actions are:
- Click
- Doubleclick
- Drag and Drop
It is suggested to structure your configurations object wisely and define several configs for the same Action! |
Workflows
You can define the workflows that are executed for the configuration object via a relationship ("SYSREL_UIACTION_WORKFLOW").
Properties for the Relation
Enabled: you can enable/disable the execution for every single workflow without removing it from the relation.
AdminRights: this Checkbox indicates whether the user needs Admin - Rights to execute the workflow. As the user has not switched to Admin mode, the workflow is ignored.
Configured Name Rule: Refer to the Name Rule Configuration object you need to pass to the workflow.
Property | Description |
---|---|
Enabled | you can enable/disable the execution for every single workflow without removing it from the relation |
AdminRights | this Checkbox indicates whether the user needs Admin - Rights to execute the workflow. As the user has not switched to Admin mode, the workflow is ignored. |
Configured Name Rule | Refer to the Name Rule Configuration object you need to pass to the workflow. |
Parameters
Define the trigger parameters for the Action via the Parameter Relationship ("SYSREL_UIACTION_PARAMETER").
Parameter Key
The parameter Key defines the type of the criterion. It is important to set the correct parameter key to get the expected behavior.
Moues Click Parameter Keys are:
- Click Target
Drag&Drop Parameter Keys are:
- Drag Source
- Drop target
- DragDropSource
As it is not possible to create a relation to one object more often then once, you have to use DragDropSource in the case you want to use this object as well as DragSourcen and as DropTarget! |
Keys without any action are:
- UserParameter_01 to UserParameter_05
Evaluation Type
The evaluation type indicates whether the related Metaclass and all its derivates are the object you want to perform the action with (evalutation type = Metaclass) or whether you want to perform the action with all instances of the given Metaclass (evaluation type = instances).