Interface: WorkspaceContext
Represents a context for the whole workspace, its stores and services.
This context is created once and exists for the full lifetime of the workspace.
Properties
Property | Modifier | Type | Description |
---|---|---|---|
|
|
| Cancellation signal that becomes aborted when the workspace is disposed. |
|
| Stores, modifies and validates changes from the visual graph authoring. | |
|
| < | Gets a common command event bus for the given topic definition which allows interaction between related components. The returned event bus will share triggered events between all observers for the same definition. |
|
| ( | Computes a style to display target element in various parts of the UI. |
|
| ( | Computes a style to display an element with target set of types in various parts of the UI. |
|
| ( | Groups with animation multiple elements into an entity group. The operation puts a command to the command history. See |
|
| Stores the diagram content and asynchronously fetches from a data provider. | |
|
| Controls UI overlays for the canvases, including dialogs and tasks. | |
|
| ( | Computes and applies with animation graph layout algorithm on the diagram content. A spinner overlay will be displayed if layout calculation will take too long (> 200ms). The operation puts a command to the command history. |
|
| Provides a translation for UI text strings. | |
|
| ( | Triggers a well-known workspace event. |
|
| ( | Ungroups with animation one or many entity groups into all contained elements. The operation puts a command to the command history. See |
|
| ( | Ungroups with animation some entities from an entity group. The operation puts a command to the command history. See |
|
| Stores common state and settings for all canvases in the workspace. |