mirror of
https://github.com/nasa/openmct.git
synced 2024-12-26 00:01:05 +00:00
ba1f86da25
Created a new policy to only allow the Messages view to be avaliable for Event Message Generators. #18.
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "Event Messages",
|
|
"description": "List of time-ordered event messages",
|
|
"extensions": {
|
|
"views": [
|
|
{
|
|
"key": "messages",
|
|
"name": "Messages",
|
|
"glyph": "5",
|
|
"description": "Scrolling list of messages.",
|
|
"templateUrl": "templates/messages.html",
|
|
"needs": [ "telemetry" ],
|
|
"delegation": true
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "EventListController",
|
|
"implementation": "EventListController.js",
|
|
"depends": [ "$scope", "telemetryFormatter" ]
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"key": "mctDataTable",
|
|
"implementation": "directives/MCTDataTable.js",
|
|
"depends": [ "$window" ]
|
|
}
|
|
],
|
|
"policies": [
|
|
{
|
|
"category": "view",
|
|
"implementation": "policies/MessagesViewPolicy.js"
|
|
}
|
|
]
|
|
}
|
|
}
|