Merge remote-tracking branch 'origin/wtd576' into open-master

This commit is contained in:
bwyu 2014-12-09 01:38:13 -08:00
commit 32ae75088f
2 changed files with 62 additions and 0 deletions

View File

@ -7,6 +7,7 @@
"platform/commonUI/dialog",
"platform/commonUI/general",
"platform/telemetry",
"platform/features/layout",
"platform/features/plot",
"example/generator",

View File

@ -0,0 +1,61 @@
{
"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"
}
]
}
]
}
}