mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 21:53:08 +00:00
[API] Reference ObjectAPI
This commit is contained in:
parent
e3dc26c130
commit
0470a02272
@ -58,6 +58,15 @@ define([
|
|||||||
});
|
});
|
||||||
MCT.prototype.MCT = MCT;
|
MCT.prototype.MCT = MCT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Utilities for interacting with domain objects.
|
||||||
|
*
|
||||||
|
* @type {module:openmct.ObjectAPI}
|
||||||
|
* @memberof module:openmct.MCT#
|
||||||
|
* @name Objects
|
||||||
|
*/
|
||||||
|
MCT.Objects = api.Objects;
|
||||||
|
|
||||||
MCT.prototype.legacyExtension = function (category, extension) {
|
MCT.prototype.legacyExtension = function (category, extension) {
|
||||||
this.legacyBundle.extensions[category] =
|
this.legacyBundle.extensions[category] =
|
||||||
this.legacyBundle.extensions[category] || [];
|
this.legacyBundle.extensions[category] || [];
|
||||||
|
@ -15,6 +15,11 @@ define([
|
|||||||
A new Object API.
|
A new Object API.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Utilities for loading, saving, and manipulating domain objects.
|
||||||
|
* @interface ObjectAPI
|
||||||
|
* @memberof module:openmct
|
||||||
|
*/
|
||||||
var Objects = {},
|
var Objects = {},
|
||||||
ROOT_REGISTRY = [],
|
ROOT_REGISTRY = [],
|
||||||
PROVIDER_REGISTRY = {},
|
PROVIDER_REGISTRY = {},
|
||||||
|
Loading…
Reference in New Issue
Block a user