Files
Superalgos/Projects/Foundations/Schemas/App-Schema/image.json
T
2021-10-11 16:19:54 +02:00

65 lines
1.9 KiB
JSON

{
"type": "Image",
"level": 3,
"propertyNameAtParent": "images",
"attachingRules": {
"compatibleTypes": "->Shapes->"
},
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n\"codeName\": \"\", \n\"size\": 10\n}"
},
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "imageCondition",
"actionFunction": "payload.executeAction",
"label": "Add Image Condition",
"relatedUiObject": "Image Condition",
"actionProject": "Visual-Scripting"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "imagePosition",
"actionFunction": "payload.executeAction",
"label": "Add Image Position",
"relatedUiObject": "Image Position",
"actionProject": "Visual-Scripting"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"actionFunction": "payload.executeAction",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity"
}
],
"childrenNodesProperties": [
{
"name": "imageCondition",
"type": "node",
"childType": "Image Condition",
"autoAdd": true
},
{
"name": "imagePosition",
"type": "node",
"childType": "Image Position",
"autoAdd": true
}
],
"addLeftIcons": true
}