Files
Superalgos/Projects/Foundations/Schemas/App-Schema/shapes.json
T

79 lines
2.3 KiB
JSON

{
"type": "Shapes",
"level": 4,
"propertyNameAtParent": "shapes",
"attachingRules": {
"compatibleTypes": "->Plotter Module->"
},
"childrenNodesProperties": [
{
"name": "chartPoints",
"type": "array",
"childType": "Chart Points",
"autoAdd": true
},
{
"name": "polygons",
"type": "array",
"childType": "Polygon",
"autoAdd": true
},
{
"name": "images",
"type": "array",
"childType": "Image",
"autoAdd": false
},
{
"name": "texts",
"type": "array",
"childType": "Text",
"autoAdd": false
}
],
"menuItems": [
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Chart Points",
"relatedUiObject": "Chart Points",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Polygon",
"relatedUiObject": "Polygon",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Image",
"relatedUiObject": "Image",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Text",
"relatedUiObject": "Text",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Delete UI Object",
"actionProject": "Visual-Scripting",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"actionFunction": "payload.executeAction",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity"
}
],
"addLeftIcons": true
}