53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"type": "Ask Portfolio Events Manager",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Confirm Event",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "confirmEvent",
|
|
"relatedUiObject": "Confirm Event",
|
|
"actionFunction": "payload.executeAction",
|
|
"relatedUiObjectProject": "Portfolio-Management",
|
|
"actionProject": "Visual-Scripting"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Raise Event",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "raiseEvent",
|
|
"relatedUiObject": "Raise Event",
|
|
"actionFunction": "payload.executeAction",
|
|
"relatedUiObjectProject": "Portfolio-Management",
|
|
"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": 2,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Trigger On Event->Trigger Off Event->Take Position Event->Create Order Event->Cancel Order Event->Close Stage Event->Next Phase Event->Move To Phase Event->"
|
|
},
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "confirmEvent",
|
|
"type": "node",
|
|
"childType": "Confirm Event"
|
|
},
|
|
{
|
|
"name": "raiseEvent",
|
|
"type": "node",
|
|
"childType": "Raise Event"
|
|
}
|
|
],
|
|
"propertyNameAtParent": "askPortfolioEventsManager"
|
|
} |