openmct/platform/commonUI/general/bundle.json
Victor Woeltjen 2f43e8cd7f [Common UI] Document TreeNodeController
Add in-line documentation to TreeNodeController, and update
glossary with some clarifying definition.

Additionally, change name from tree-item to tree-node for
consistency.

Part of ongoing transition of commonUI bundles, WTD-574.
2014-11-24 15:42:15 -08:00

99 lines
3.0 KiB
JSON

{
"name": "General UI elements",
"description": "General UI elements, meant to be reused across modes.",
"resources": "res",
"extensions": {
"templates": [
{
"key": "bottombar",
"templateUrl": "templates/bottombar.html"
},
{
"key": "switcher",
"templateUrl": "templates/controls/switcher.html"
},
{
"key": "action-button",
"templateUrl": "templates/controls/action-button.html"
}
],
"controllers": [
{
"key": "TreeNodeController",
"implementation": "TreeNodeController.js",
"depends": [ "$scope", "navigationService" ]
},
{
"key": "ActionGroupController",
"implementation": "ActionGroupController.js",
"depends": [ "$scope" ]
},
{
"key": "ToggleController",
"implementation": "ToggleController.js"
},
{
"key": "ContextMenuController",
"implementation": "ContextMenuController.js",
"depends": [ "$scope" ]
},
{
"key": "ClickAwayController",
"implementation": "ClickAwayController.js",
"depends": [ "$scope", "$document" ]
}
],
"directives": [
{
"key": "mctContainer",
"implementation": "MCTContainer.js",
"depends": [ "containers[]" ]
}
],
"containers": [
{
"key": "accordion",
"templateUrl": "templates/containers/accordion.html",
"attributes": [ "title" ]
}
],
"representations": [
{
"key": "tree",
"templateUrl": "templates/tree.html",
"uses": [ "composition" ]
},
{
"key": "test",
"templateUrl": "templates/test.html"
},
{
"key": "tree-node",
"templateUrl": "templates/tree-node.html",
"uses": [ "action" ]
},
{
"key": "label",
"templateUrl": "templates/label.html",
"uses": [ "type" ],
"gestures": [ "drag", "menu" ]
},
{
"key": "node",
"templateUrl": "templates/label.html",
"uses": [ "type" ],
"gestures": [ "drag", "menu" ]
},
{
"key": "action-group",
"templateUrl": "templates/controls/action-group.html",
"uses": [ "action" ]
},
{
"key": "context-menu",
"templateUrl": "templates/menu/context-menu.html",
"uses": [ "action" ]
}
]
}
}