2014-11-20 20:58:21 +00:00
|
|
|
{
|
|
|
|
"name": "Open MCT Web Core",
|
|
|
|
"description": "Defines core concepts of Open MCT Web.",
|
|
|
|
"sources": "src",
|
|
|
|
"extensions": {
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"provides": "objectService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "objects/DomainObjectProvider.js",
|
2014-11-22 01:51:45 +00:00
|
|
|
"depends": [ "modelService", "capabilityService", "$q" ]
|
2014-11-20 20:58:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "capabilityService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "capabilities/CoreCapabilityProvider.js",
|
2014-11-22 00:59:03 +00:00
|
|
|
"depends": [ "capabilities[]", "$log" ]
|
2014-11-20 20:58:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "modelService",
|
|
|
|
"type": "provider",
|
2014-11-22 02:48:10 +00:00
|
|
|
"implementation": "models/StaticModelProvider",
|
2014-11-21 19:52:14 +00:00
|
|
|
"depends": [ "models[]", "$q", "$log" ]
|
2014-11-20 20:58:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "modelService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "models/RootModelProvider.js",
|
2014-11-22 01:25:10 +00:00
|
|
|
"depends": [ "roots[]", "$q", "$log" ]
|
2014-11-20 20:58:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "modelService",
|
|
|
|
"type": "aggregator",
|
2014-11-20 22:55:31 +00:00
|
|
|
"implementation": "models/ModelAggregator.js",
|
|
|
|
"depends": [ "$q" ]
|
2014-11-20 20:58:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "modelService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "models/PersistedModelProvider.js",
|
|
|
|
"depends": [ "persistenceService", "$q", "PERSISTENCE_SPACE" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "typeService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "types/TypeProvider.js",
|
|
|
|
"depends": [ "types[]" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "actionService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "actions/ActionProvider.js",
|
|
|
|
"depends": [ "actions[]" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "actionService",
|
|
|
|
"type": "aggregator",
|
|
|
|
"implementation": "actions/ActionAggregator.js"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "actionService",
|
|
|
|
"type": "decorator",
|
|
|
|
"implementation": "actions/LoggingActionDecorator.js",
|
|
|
|
"depends": [ "$log" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "viewService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "views/ViewProvider.js",
|
|
|
|
"depends": [ "views[]" ]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"properties": [
|
|
|
|
{
|
2014-12-03 20:52:51 +00:00
|
|
|
"control": "textfield",
|
|
|
|
"name": "Title",
|
2014-11-20 20:58:21 +00:00
|
|
|
"key": "name",
|
|
|
|
"property": "name",
|
|
|
|
"pattern": "\\S+",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
2014-12-03 20:52:51 +00:00
|
|
|
"control": "checkbox",
|
|
|
|
"name": "Display title by default",
|
2014-11-20 20:58:21 +00:00
|
|
|
"key": "displayTitle",
|
|
|
|
"property": [ "display", "title" ]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "folder",
|
|
|
|
"name": "Folder",
|
|
|
|
"glyph": "F",
|
|
|
|
"features": "creation",
|
|
|
|
"description": "A folder, useful for storing and organizing domain objects.",
|
|
|
|
"model": { "composition": [] }
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"capabilities": [
|
|
|
|
{
|
|
|
|
"key": "composition",
|
|
|
|
"implementation": "capabilities/CompositionCapability.js",
|
|
|
|
"depends": [ "$injector" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "type",
|
|
|
|
"implementation": "types/TypeCapability.js",
|
|
|
|
"depends": [ "typeService" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "action",
|
|
|
|
"implementation": "actions/ActionCapability.js",
|
2014-11-20 21:25:06 +00:00
|
|
|
"depends": [ "$q", "actionService" ]
|
2014-11-20 20:58:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "view",
|
|
|
|
"implementation": "views/ViewCapability.js",
|
|
|
|
"depends": [ "viewService" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "persistence",
|
|
|
|
"implementation": "capabilities/PersistenceCapability.js",
|
|
|
|
"depends": [ "persistenceService", "PERSISTENCE_SPACE" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "mutation",
|
|
|
|
"implementation": "capabilities/MutationCapability.js",
|
|
|
|
"depends": [ "$q" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "delegation",
|
2014-11-22 00:59:03 +00:00
|
|
|
"implementation": "capabilities/DelegationCapability.js",
|
|
|
|
"depends": [ "$q" ]
|
2014-11-20 20:58:21 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"roots": [
|
|
|
|
{
|
|
|
|
"id": "mine",
|
|
|
|
"model": {
|
|
|
|
"name": "My Items",
|
|
|
|
"type": "folder",
|
|
|
|
"composition": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|