Page Description
The PageDescription describes one or more tabs of a form.
Each tab can contain one of more groups which will display the various widgets of the form.
1. Core Properties
-
name: A unique identifier for the page description.
2. Rendering
-
semanticCandidatesExpression: InterpretedExpression Used to selected the semantic elements for which a tab may be created. The semantic elements selected by this expression will be then filtered by the
domainType`and thepreconditionExpression.-
self: ObjectThe current context on which the expression is evaluated. It is the semantic element on which the form has been created. -
editingContext: IEditingContextThe editing context of the workbench. It can be used with core services to retrieve information about the semantic elements.
-
-
domainType: DomainType Fully qualified type of the semantic elements for which a node should be created. For example
flow::Systemorecore::EClass. Used to filter the semantic elements selected by thesemanticCandidatesExpression. -
preconditionExpression: InterpretedExpression Used to filter the semantic elements selected by the
semanticCandidatesExpressionafter filtering bydomainType.-
self: ObjectThe current context on which the expression is evaluated. It is the semantic element on which the form has been created. -
editingContext: IEditingContextThe editing context of the workbench. It can be used with core services to retrieve information about the semantic elements.
-
-
labelExpression: InterpretedExpression Used to compute the label of the tab. The expression is evaluated on each semantic element returned by the
semanticCandidatesExpression.-
self: ObjectThe current context on which the expression is evaluated. It is a semantic element returned by thesemanticCandidatesExpression. -
editingContext: IEditingContextThe editing context of the workbench. It can be used with core services to retrieve information about the semantic elements.
-
3. Structure
A page can contain both toolbar actions and groups.
-
toolbarActions: list ofButtonDescriptioninstances rendered at the top of the page. -
groups: containment list ofGroupDescriptionentries keyed byname.