Property Editor
The Property Editor widget is designed to edit properties of objects in the system.
Model
The following properties can be defined for the Property Editor widget. The table below contains more information about these properties.
{
"type": "propertyeditor",
"actions": {},
"blackList": [],
"captionBar": {},
"compact": false,
"dataSource": {},
"dragSource": {},
"dropTarget": {},
"id": "propertyEditorWidgetID",
"layout": {},
"name": "propertyEditor",
"objspec": "",
"options": {},
"toolbars": {},
"whitelist": []
}
| Name | Description |
|---|---|
|
Widget type, in this case "propertyeditor" |
|
Property used to configure action pipelines for specific trigger events. See the |
|
Optional configuration to exclude specific properties from the Property Editor. |
|
Property used to configure the widget caption bar. Set this property to false to hide the caption bar for the Property Editor widget. Default is true. |
|
Property to configure an optional datasource from which the data or widget model can be loaded. See the |
|
Optional property used to allow dragging of information from the widget. See here for more details on configuring the widget as a drag-source. |
|
Optional property used to handle drops from a drag-source. For more information on configuring the widget as a drop-target, see here. |
|
Unique widget identifier, can be customised but must be unique in compilation. |
|
Layout properties to configure the size and position of the widget. |
|
Optional property to define a name for the widget, shown in the widget caption bar if it is enabled. |
|
Path to an object in the system or object ID. |
|
Configurable properties including the |
|
Property used to add, edit or hide widget toolbars. See the |
|
Optional configuration to include only specific properties in the Property Editor widget. |
Actions
The actions property in the Property Editor widget model is used to configure action pipelines for specific trigger events. Both lifecycle and action hooks can contain a single action or a series of multiple actions.
The Property Editor widget supports the general lifecycle hooks does not support any additional action hooks.
Blacklist
The blackList property is used to exclude certain properties from the Property Editor widget.
{
"blackList": []
}
DataSource
The dataSource property can be used to load data from the system or to initialise the model configuration of the Property Editor widget. Information regarding the general principles governing the treatment of information returned by the dataSource can be found here.
Toolbars
The toolbars property is used to add, customise and hide toolbars for the Property Editor widget. This widget supports multiple toolbars. For more details on configuring toolbars, see here.
Tools
The following tools have a defualt implementation for the Property Editor widget.
| Icon | Tool Name | Type | SubType | Description |
|---|---|---|---|---|
|
Apply |
|
|
Applies changes made in the Property Editor widget to the selected object |
|
Discard |
|
|
Discards any unsaved changes in the Property Editor. |
|
Edit Capabilities |
|
|
Opens a dialog to edit the capabilities of the object. |
|
Refresh |
|
|
Refreshes the widget |
Spacer |
|
Defines the spacing between tools on the toolbar. |
Whitelist
The whiteList property is used to include only specific properties in the Property Editor widget.
{
"whiteList": []
}
Receive Messages (Send Topics)
The Property Editor widget can receive messages from other widgets. In addition to the generic send topics refresh and update, the Property Editor widget also supports the following topic:
setObjSpec
The setObjSpec topic can be used to define the object spec or path for the object to be displayed in the Property Editor widget.
{
"type": "send",
"to": "propertyEditor",
"message": {
"topic": "setObjSpec",
"payload": {
"objspec": "/"
}
}
}
The payload can contain any one of the four following fields:
| Name | Description |
|---|---|
|
Numeric Object ID |
|
Object path or ID |
|
Path to object or property |
|
Path to object or property |



