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