{ "type": "User Defined Code", "menuItems": [ { "action": "Configure", "actionFunction": "uiObject.configEditor.activate", "label": "Configure", "iconPathOn": "configuration", "iconPathOff": "configuration" }, { "action": "Add UI Object", "propertyToCheckFor": "javascriptCode", "label": "Add Code", "relatedUiObject": "Javascript Code", "actionFunction": "payload.executeAction", "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, "initialValues": { "config": "{ \n \"runWhenEnteringStage\": false, \n \"runWhenExitingStage\": false, \n \"runWhileAtStage\": false, \n \"whileAtStageWhenToRun\": \"first|last\" \n}" }, "editors": { "config": true }, "level": 2, "attachingRules": { "compatibleTypes": "->Trigger Stage->Open Stage->Manage Stage->Close Stage->" }, "childrenNodesProperties": [ { "name": "javascriptCode", "type": "array", "childType": "Javascript Code", "autoAdd": true } ], "propertyNameAtParent": "userDefinedCode" }