120 lines
3.6 KiB
JSON
120 lines
3.6 KiB
JSON
[
|
|
{
|
|
"type": "Ethereum",
|
|
"menuItems": [
|
|
{
|
|
"action": "Pin / Unpin",
|
|
"currentStatus": true,
|
|
"iconPathOn": "unpinned",
|
|
"iconPathOff": "pinned",
|
|
"actionFunction": "payload.onMenuItemClick",
|
|
"ring": 1
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Network",
|
|
"relatedUiObject": "Network",
|
|
"actionFunction": "payload.onMenuItemClick"
|
|
}
|
|
],
|
|
"isTitleAllwaysVisible": true,
|
|
"addLeftIcons": false,
|
|
"isPinned": true,
|
|
"positionLocked": true
|
|
},
|
|
{
|
|
"type": "Network",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Network Node",
|
|
"relatedUiObject": "Network Node",
|
|
"actionFunction": "payload.onMenuItemClick"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete",
|
|
"iconPathOff": "delete",
|
|
"actionFunction": "payload.onMenuItemClick"
|
|
}
|
|
],
|
|
"isHierarchyHead": true,
|
|
"addLeftIcons": true,
|
|
"level": 0,
|
|
"properties": [
|
|
{
|
|
"name": "networkNodes",
|
|
"type": "array",
|
|
"childType": "Network Node"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Network Node",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration",
|
|
"dontShowAtFullscreen": true,
|
|
"actionFunction": "uiObject.configEditor.activate"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete",
|
|
"iconPathOff": "delete",
|
|
"actionFunction": "payload.onMenuItemClick"
|
|
}
|
|
],
|
|
"editors": {
|
|
"config": true
|
|
},
|
|
"initialValues": {
|
|
"config": "{ \n\"host\": \"localhost\", \n\"webPort\": \"34248\", \n\"webSocketsPort\": \"8081\"\n}"
|
|
},
|
|
"isTitleAllwaysVisible": true,
|
|
"addLeftIcons": true,
|
|
"level": 1,
|
|
"chainAttachesTo": {
|
|
"compatibleTypes": "->Network->"
|
|
},
|
|
"propertyNameAtParent": "networkNodes"
|
|
},
|
|
{
|
|
"type": "Ethereum Project",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Smart Contract",
|
|
"relatedUiObject": "Smart Contract",
|
|
"actionFunction": "payload.onMenuItemClick"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete",
|
|
"iconPathOff": "delete",
|
|
"actionFunction": "payload.onMenuItemClick"
|
|
}
|
|
],
|
|
"isHierarchyHead": true,
|
|
"addLeftIcons": true,
|
|
"level": 0,
|
|
"properties": [
|
|
{
|
|
"name": "networkNodes",
|
|
"type": "array",
|
|
"childType": "Network Node"
|
|
}
|
|
]
|
|
},
|
|
] |