[Layout] Add Layout type

Add the type definition for Layout domain objects.
Part of transitioning Layouts, WTD-535.
This commit is contained in:
Victor Woeltjen 2014-12-04 10:42:54 -08:00
parent ba14aeabc6
commit e1ba2487b3

View File

@ -3,6 +3,42 @@
"description": "Plug in adding Layout capabiltiies.",
"extensions": {
"types": [
{
"key": "layout",
"name": "Layout",
"glyph": "L",
"description": "A layout in which multiple telemetry panels may be displayed.",
"features": "creation",
"model": { "composition": [] },
"properties": [
{
"name": "Preferred Size",
"control": "select",
"options": [
{ "name": "Fit to Window", "value": "FIT" },
{ "name": "Fixed Size", "value": "FIXED" }
],
"key": "preferredSize"
},
{
"label": "Layout Grid",
"control": "composite",
"pattern": "^(\\d*[1-9]\\d*)?$",
"items": [
{
"name": "Horizontal grid (px)",
"control": "textfield"
},
{
"name": "Vertical grid (px)",
"control": "textfield"
}
],
"key": "layoutGrid",
"conversion": "number[]"
}
]
},
{
"key": "telemetry.panel",
"name": "Telemetry Panel",