52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"type": "Managed Take Profit",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Phase",
|
|
"relatedUiObject": "Phase",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting",
|
|
"relatedUiObjectProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Manged TP Portfolio Formula",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "managedTakeProfitPMFormula",
|
|
"relatedUiObject": "Managed Take Profit PM Formula",
|
|
"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": 1,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Manage Stage->Initial Definition->"
|
|
},
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "phases",
|
|
"type": "array",
|
|
"childType": "Phase",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "managedTakeProfitPMFormula",
|
|
"type": "node",
|
|
"childType": "Managed Take Profit PM Formula"
|
|
}
|
|
],
|
|
"propertyNameAtParent": "managedTakeProfit"
|
|
} |