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

65 lines
2.0 KiB
JSON

{
"type": "Plotter Panel",
"level": 4,
"propertyNameAtParent": "panels",
"attachingRules": {
"compatibleTypes": "->Plotter Module->"
},
"editors": {
"config": true
},
"initialValues": {
"config": "{\n\"codeName\": \"\", \n\"isLegacy\": false\n}"
},
"childrenNodesProperties": [
{
"name": "plotterPanelJavascriptCode",
"type": "node",
"childType": "Plotter Panel Javascript Code"
},
{
"name": "panelData",
"type": "array",
"childType": "Panel Data",
"autoAdd": true
}
],
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "plotterPanelJavascriptCode",
"actionFunction": "payload.executeAction",
"label": "Add Javascript Code",
"relatedUiObject": "Plotter Panel Javascript Code",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Add UI Object",
"actionFunction": "payload.executeAction",
"label": "Add Panel Data",
"relatedUiObject": "Panel Data",
"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
}