mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
36fab50825
Add in-line docs for bundle platform/commonUI/browse, which implements Browse mode, one of the common user interface bundles being transitioned in WTD-574.
122 lines
3.9 KiB
JSON
122 lines
3.9 KiB
JSON
{
|
|
"extensions": {
|
|
"routes": [
|
|
{
|
|
"when": "/browse",
|
|
"templateUrl": "templates/browse.html"
|
|
},
|
|
{
|
|
"when": "",
|
|
"templateUrl": "templates/browse.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "BrowseController",
|
|
"implementation": "BrowseController.js",
|
|
"depends": [ "$scope", "objectService", "navigationService" ]
|
|
},
|
|
{
|
|
"key": "ViewSwitcherController",
|
|
"implementation": "ViewSwitcherController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "CreateButtonController",
|
|
"implementation": "creation/CreateButtonController",
|
|
"depends": [ "$scope", "$document" ]
|
|
},
|
|
{
|
|
"key": "CreateMenuController",
|
|
"implementation": "creation/CreateMenuController",
|
|
"depends": [ "$scope" ]
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"key": "topbar-browse",
|
|
"templateUrl": "templates/topbar-browse.html"
|
|
}
|
|
],
|
|
"representations": [
|
|
{
|
|
"key": "browse-object",
|
|
"templateUrl": "templates/browse-object.html",
|
|
"uses": [ "view" ]
|
|
},
|
|
{
|
|
"key": "create-button",
|
|
"templateUrl": "templates/create-button.html"
|
|
},
|
|
{
|
|
"key": "create-menu",
|
|
"templateUrl": "templates/create-menu.html",
|
|
"uses": [ "action" ]
|
|
},
|
|
{
|
|
"key": "grid-item",
|
|
"templateUrl": "templates/items/grid-item.html",
|
|
"uses": [ "type", "action" ]
|
|
},
|
|
{
|
|
"key": "object-header",
|
|
"templateUrl": "templates/browse/object-header.html",
|
|
"uses": [ "type" ]
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"key": "navigationService",
|
|
"implementation": "navigation/NavigationService.js"
|
|
},
|
|
{
|
|
"key": "creationService",
|
|
"implementation": "creation/CreationService.js",
|
|
"depends": [ "persistenceService", "$q", "$log" ]
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"key": "navigate",
|
|
"implementation": "navigation/NavigateAction.js",
|
|
"depends": [ "navigationService", "$q" ]
|
|
},
|
|
{
|
|
"key": "window",
|
|
"implementation": "windowing/NewWindowAction.js",
|
|
"description": "Open this object in a new window.",
|
|
"category": "view-control",
|
|
"depends": [ "$window" ],
|
|
"group": "windowing",
|
|
"glyph": "y"
|
|
},
|
|
{
|
|
"key": "fullscreen",
|
|
"implementation": "windowing/FullscreenAction.js",
|
|
"category": "view-control",
|
|
"group": "windowing",
|
|
"glyph": "z"
|
|
}
|
|
],
|
|
"views": [
|
|
{
|
|
"key": "items",
|
|
"name": "Items",
|
|
"glyph": "i",
|
|
"description": "Grid of available items.",
|
|
"templateUrl": "templates/items/items.html",
|
|
"uses": [ "composition" ],
|
|
"gestures": [ "drop" ]
|
|
}
|
|
],
|
|
"components": [
|
|
{
|
|
"key": "CreateActionProvider",
|
|
"provides": "actionService",
|
|
"type": "provider",
|
|
"implementation": "creation/CreateActionProvider.js",
|
|
"depends": [ "typeService", "dialogService", "creationService" ]
|
|
}
|
|
]
|
|
}
|
|
} |