62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"type": "Pool",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"actionFunction": "uiObject.configEditor.activate",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Pool Class",
|
|
"relatedUiObject": "Pool Class"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Pool",
|
|
"relatedUiObject": "Pool"
|
|
},
|
|
{
|
|
"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 \"description\": \"\"\n}"
|
|
},
|
|
"addLeftIcons": true,
|
|
"level": 2,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Pool Class->Pool->"
|
|
},
|
|
"referencingRules": {
|
|
"compatibleTypes": "->Positions->Assets->Features->"
|
|
},
|
|
"propertyNameAtParent": "pools",
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "poolClasses",
|
|
"type": "array",
|
|
"childType": "Pool Class",
|
|
"autoAdd": false
|
|
},
|
|
{
|
|
"name": "pools",
|
|
"type": "array",
|
|
"childType": "Pool",
|
|
"autoAdd": false
|
|
}
|
|
]
|
|
} |