2014-11-23 15:41:20 -08:00
|
|
|
{
|
|
|
|
"extensions": {
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"when": "/edit",
|
|
|
|
"templateUrl": "templates/edit.html"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"controllers": [
|
|
|
|
{
|
|
|
|
"key": "EditController",
|
2015-02-26 17:05:13 -08:00
|
|
|
"implementation": "controllers/EditController.js",
|
2015-03-24 10:01:45 -07:00
|
|
|
"depends": [ "$scope", "$q", "navigationService" ]
|
2014-11-23 15:41:20 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "EditActionController",
|
2015-02-26 17:05:13 -08:00
|
|
|
"implementation": "controllers/EditActionController.js",
|
2014-11-23 15:41:20 -08:00
|
|
|
"depends": [ "$scope" ]
|
2015-02-26 16:53:15 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "EditPanesController",
|
|
|
|
"implementation": "controllers/EditPanesController.js",
|
|
|
|
"depends": [ "$scope" ]
|
2014-11-23 15:41:20 -08:00
|
|
|
}
|
|
|
|
],
|
2015-03-16 17:28:08 -07:00
|
|
|
"directives": [
|
|
|
|
{
|
|
|
|
"key": "mctBeforeUnload",
|
|
|
|
"implementation": "directives/MCTBeforeUnload.js",
|
|
|
|
"depends": [ "$window" ]
|
|
|
|
}
|
|
|
|
],
|
2014-11-23 15:41:20 -08:00
|
|
|
"actions": [
|
2015-04-07 20:24:15 -07:00
|
|
|
{
|
|
|
|
"key": "compose",
|
|
|
|
"implementation": "actions/LinkAction.js"
|
|
|
|
},
|
2014-11-23 15:41:20 -08:00
|
|
|
{
|
|
|
|
"key": "edit",
|
|
|
|
"implementation": "actions/EditAction.js",
|
|
|
|
"depends": [ "$location", "navigationService", "$log" ],
|
|
|
|
"description": "Edit this object.",
|
|
|
|
"category": "view-control",
|
|
|
|
"glyph": "p"
|
|
|
|
},
|
2014-12-03 16:50:10 -08:00
|
|
|
{
|
|
|
|
"key": "properties",
|
2015-04-01 15:34:51 -07:00
|
|
|
"category": ["contextual", "view-control"],
|
2014-12-03 16:50:10 -08:00
|
|
|
"implementation": "actions/PropertiesAction.js",
|
|
|
|
"glyph": "p",
|
|
|
|
"name": "Edit Properties...",
|
|
|
|
"description": "Edit properties of this object.",
|
|
|
|
"depends": [ "dialogService" ]
|
|
|
|
},
|
2014-11-23 15:41:20 -08:00
|
|
|
{
|
|
|
|
"key": "remove",
|
|
|
|
"category": "contextual",
|
|
|
|
"implementation": "actions/RemoveAction.js",
|
|
|
|
"glyph": "Z",
|
|
|
|
"name": "Remove",
|
|
|
|
"description": "Remove this object from its containing object.",
|
2015-08-21 13:04:47 -07:00
|
|
|
"depends": [ "$q", "navigationService" ]
|
2014-11-23 15:41:20 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "save",
|
|
|
|
"category": "conclude-editing",
|
|
|
|
"implementation": "actions/SaveAction.js",
|
|
|
|
"name": "Save",
|
|
|
|
"description": "Save changes made to these objects.",
|
2015-06-25 14:07:02 -07:00
|
|
|
"depends": [ "$location", "urlService" ],
|
2015-03-06 08:18:43 -08:00
|
|
|
"priority": "mandatory"
|
2014-11-23 15:41:20 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "cancel",
|
|
|
|
"category": "conclude-editing",
|
|
|
|
"implementation": "actions/CancelAction.js",
|
|
|
|
"name": "Cancel",
|
|
|
|
"description": "Discard changes made to these objects.",
|
2015-06-25 14:07:02 -07:00
|
|
|
"depends": [ "$location", "urlService" ]
|
2014-11-23 15:41:20 -08:00
|
|
|
}
|
|
|
|
],
|
2015-04-01 15:45:43 -07:00
|
|
|
"policies": [
|
|
|
|
{
|
|
|
|
"category": "action",
|
|
|
|
"implementation": "policies/EditActionPolicy.js"
|
2015-04-01 16:00:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"category": "view",
|
|
|
|
"implementation": "policies/EditableViewPolicy.js"
|
2015-04-01 15:45:43 -07:00
|
|
|
}
|
|
|
|
],
|
2014-11-23 15:41:20 -08:00
|
|
|
"templates": [
|
|
|
|
{
|
|
|
|
"key": "edit-library",
|
|
|
|
"templateUrl": "templates/library.html"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"representations": [
|
|
|
|
{
|
|
|
|
"key": "edit-object",
|
|
|
|
"templateUrl": "templates/edit-object.html",
|
2015-02-26 16:53:15 -08:00
|
|
|
"uses": [ "view" ]
|
2014-11-23 15:41:20 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "edit-action-buttons",
|
|
|
|
"templateUrl": "templates/edit-action-buttons.html",
|
|
|
|
"uses": [ "action" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "edit-elements",
|
|
|
|
"templateUrl": "templates/elements.html",
|
|
|
|
"uses": [ "composition" ],
|
|
|
|
"gestures": [ "drop" ]
|
2014-12-04 12:32:35 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "topbar-edit",
|
|
|
|
"templateUrl": "templates/topbar-edit.html"
|
2014-11-23 15:41:20 -08:00
|
|
|
}
|
2015-06-25 14:53:52 -07:00
|
|
|
],
|
2014-12-05 12:48:21 -08:00
|
|
|
"representers": [
|
|
|
|
{
|
2015-02-26 17:05:13 -08:00
|
|
|
"implementation": "representers/EditRepresenter.js",
|
2014-12-06 09:38:28 -08:00
|
|
|
"depends": [ "$q", "$log" ]
|
2015-02-17 15:30:23 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"implementation": "representers/EditToolbarRepresenter.js"
|
2014-12-05 12:48:21 -08:00
|
|
|
}
|
2014-11-23 15:41:20 -08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|