mirror of
https://github.com/nasa/openmct.git
synced 2025-06-03 08:00:52 +00:00
[Layout] Add Layout type
Add the type definition for Layout domain objects. Part of transitioning Layouts, WTD-535.
This commit is contained in:
parent
ba14aeabc6
commit
e1ba2487b3
@ -3,6 +3,42 @@
|
|||||||
"description": "Plug in adding Layout capabiltiies.",
|
"description": "Plug in adding Layout capabiltiies.",
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"types": [
|
"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",
|
"key": "telemetry.panel",
|
||||||
"name": "Telemetry Panel",
|
"name": "Telemetry Panel",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user