mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -35,6 +35,7 @@ define(
|
||||
* thereabout) which are applicable to a specific domain
|
||||
* object.
|
||||
*
|
||||
* @memberof platform/core
|
||||
* @constructor
|
||||
*/
|
||||
function ViewCapability(viewService, domainObject) {
|
||||
@ -44,6 +45,7 @@ define(
|
||||
* this object.
|
||||
* @returns {View[]} an array of view definitions
|
||||
* which are applicable to this object.
|
||||
* @memberof platform/core.ViewCapability#
|
||||
*/
|
||||
invoke: function () {
|
||||
return viewService.getViews(domainObject);
|
||||
@ -53,4 +55,4 @@ define(
|
||||
|
||||
return ViewCapability;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
@ -55,6 +55,7 @@ define(
|
||||
* The role of a view provider and of a view capability is to
|
||||
* describe what views are available, not how to instantiate them.
|
||||
*
|
||||
* @memberof platform/core
|
||||
* @constructor
|
||||
* @param {View[]} an array of view definitions
|
||||
*/
|
||||
@ -145,6 +146,7 @@ define(
|
||||
* @param {DomainObject} domainObject the domain object to view
|
||||
* @returns {View[]} all views which can be used to visualize
|
||||
* this domain object.
|
||||
* @memberof platform/core.ViewProvider#
|
||||
*/
|
||||
getViews: getViews
|
||||
};
|
||||
@ -152,4 +154,4 @@ define(
|
||||
|
||||
return ViewProvider;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user