Victor Woeltjen e8c5f9c66c [Panels] Bring in telemetry panels
Bring in telemetry panels as an object type from
the sandbox Angular transition branch. WTD-576.
2014-12-02 16:20:53 -08:00

61 lines
2.2 KiB
JSON

{
"name": "Layout components.",
"description": "Plug in adding Layout capabiltiies.",
"extensions": {
"types": [
{
"key": "telemetry.panel",
"name": "Telemetry Panel",
"glyph": "t",
"description": "A panel for collecting telemetry elements.",
"delegates": [ "telemetry" ],
"features": "creation",
"model": { "composition": [] },
"properties": [
{
"label": "Preferred Size",
"control": "_textfields",
"values": [
{
"label": "Width (px)",
"pattern": "^(\\d*[1-9]\\d*)?$"
},
{
"label": "Height (px)",
"pattern": "^(\\d*[1-9]\\d*)?$"
}
],
"key": "preferredSize",
"conversion": "number[]"
},
{
"label": "Layout Grid",
"control": "_textfields",
"values": [
{
"label": "Horizontal grid (px)",
"pattern": "^(\\d*[1-9]\\d*)?$"
},
{
"label": "Vertical grid (px)",
"pattern": "^(\\d*[1-9]\\d*)?$"
}
],
"key": "layoutGrid",
"conversion": "number[]"
},
{
"label": "Default View",
"control": "_select",
"values": [
"Plot",
"Scrolling"
],
"comment": "TODO: Infer values from type",
"key": "defaultView"
}
]
}
]
}
}