62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"type": "Indicator Bot Instance",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration",
|
|
"dontShowAtFullscreen": true,
|
|
"actionFunction": "uiObject.configEditor.activate"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "timeFramesFilter",
|
|
"label": "Add Time Frames Filter",
|
|
"relatedUiObject": "Time Frames Filter",
|
|
"actionFunction": "payload.executeAction"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Process Instance",
|
|
"relatedUiObject": "Indicator Process Instance",
|
|
"actionFunction": "payload.executeAction"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"editors": {
|
|
"config": true
|
|
},
|
|
"initialValues": {
|
|
"config": "{ \n\"parameter1\": \"Value for parameter1 defined at the Product Definition\"\n}"
|
|
},
|
|
"isTitleAllwaysVisible": true,
|
|
"addLeftIcons": true,
|
|
"level": 3,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Task->"
|
|
},
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "processes",
|
|
"type": "array",
|
|
"childType": "Indicator Process Instance",
|
|
"autoAdd": false
|
|
},
|
|
{
|
|
"name": "timeFramesFilter",
|
|
"type": "node",
|
|
"childType": "Time Frames Filter"
|
|
}
|
|
],
|
|
"propertyNameAtParent": "bot"
|
|
} |