54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"type": "Target Rate",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "formula",
|
|
"label": "Add Formula",
|
|
"relatedUiObject": "Formula",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting",
|
|
"relatedUiObjectProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Portfolio Formula",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "askPortfolioFormulaManager",
|
|
"relatedUiObject": "Ask Portfolio Formula Manager",
|
|
"actionFunction": "payload.executeAction",
|
|
"relatedUiObjectProject": "Foundations",
|
|
"actionProject": "Visual-Scripting"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"addLeftIcons": true,
|
|
"level": 4,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Initial Targets->"
|
|
},
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "formula",
|
|
"type": "node",
|
|
"childType": "Formula",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "askPortfolioFormulaManager",
|
|
"type": "node",
|
|
"childType": "Ask Portfolio Formula Manager"
|
|
}
|
|
],
|
|
"propertyNameAtParent": "targetRate"
|
|
} |