mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 14:32:22 +00:00
133 lines
4.5 KiB
JSON
133 lines
4.5 KiB
JSON
{
|
|
"extensions": {
|
|
"routes": [
|
|
{
|
|
"when": "/edit",
|
|
"templateUrl": "templates/edit.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "EditController",
|
|
"implementation": "controllers/EditController.js",
|
|
"depends": [ "$scope", "$q", "navigationService" ]
|
|
},
|
|
{
|
|
"key": "EditActionController",
|
|
"implementation": "controllers/EditActionController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "EditPanesController",
|
|
"implementation": "controllers/EditPanesController.js",
|
|
"depends": [ "$scope" ]
|
|
},
|
|
{
|
|
"key": "ElementsController",
|
|
"implementation": "controllers/ElementsController.js",
|
|
"depends": [ "$scope" ]
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"key": "mctBeforeUnload",
|
|
"implementation": "directives/MCTBeforeUnload.js",
|
|
"depends": [ "$window" ]
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"key": "compose",
|
|
"implementation": "actions/LinkAction.js"
|
|
},
|
|
{
|
|
"key": "edit",
|
|
"implementation": "actions/EditAction.js",
|
|
"depends": [ "$location", "navigationService", "$log", "$q" ],
|
|
"description": "Edit this object.",
|
|
"category": "view-control",
|
|
"glyph": "p"
|
|
},
|
|
{
|
|
"key": "properties",
|
|
"category": ["contextual", "view-control"],
|
|
"implementation": "actions/PropertiesAction.js",
|
|
"glyph": "p",
|
|
"name": "Edit Properties...",
|
|
"description": "Edit properties of this object.",
|
|
"depends": [ "dialogService" ]
|
|
},
|
|
{
|
|
"key": "remove",
|
|
"category": "contextual",
|
|
"implementation": "actions/RemoveAction.js",
|
|
"glyph": "Z",
|
|
"name": "Remove",
|
|
"description": "Remove this object from its containing object.",
|
|
"depends": [ "$q", "navigationService" ]
|
|
},
|
|
{
|
|
"key": "save",
|
|
"category": "conclude-editing",
|
|
"implementation": "actions/SaveAction.js",
|
|
"name": "Save",
|
|
"description": "Save changes made to these objects.",
|
|
"depends": [ "$q", "$location", "$injector", "urlService",
|
|
"navigationService", "policyService", "dialogService",
|
|
"creationService" ],
|
|
"priority": "mandatory"
|
|
},
|
|
{
|
|
"key": "cancel",
|
|
"category": "conclude-editing",
|
|
"implementation": "actions/CancelAction.js",
|
|
"name": "Cancel",
|
|
"description": "Discard changes made to these objects.",
|
|
"depends": ["$injector", "navigationService"]
|
|
}
|
|
],
|
|
"policies": [
|
|
{
|
|
"category": "action",
|
|
"implementation": "policies/EditActionPolicy.js"
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"key": "edit-library",
|
|
"templateUrl": "templates/library.html"
|
|
}
|
|
],
|
|
"representations": [
|
|
{
|
|
"key": "edit-object",
|
|
"templateUrl": "templates/edit-object.html",
|
|
"uses": [ "view" ]
|
|
},
|
|
{
|
|
"key": "edit-action-buttons",
|
|
"templateUrl": "templates/edit-action-buttons.html",
|
|
"uses": [ "action" ]
|
|
},
|
|
{
|
|
"key": "edit-elements",
|
|
"templateUrl": "templates/elements.html",
|
|
"uses": [ "composition" ],
|
|
"gestures": [ "drop" ]
|
|
},
|
|
{
|
|
"key": "topbar-edit",
|
|
"templateUrl": "templates/topbar-edit.html"
|
|
}
|
|
],
|
|
"representers": [
|
|
{
|
|
"implementation": "representers/EditRepresenter.js",
|
|
"depends": [ "$q", "$log" ]
|
|
},
|
|
{
|
|
"implementation": "representers/EditToolbarRepresenter.js"
|
|
}
|
|
]
|
|
}
|
|
} |