[JSDoc] Add annotations

Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
Victor Woeltjen
2015-08-07 11:44:54 -07:00
parent 14f97eae9c
commit c08a460d30
239 changed files with 939 additions and 185 deletions

View File

@ -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;
}
);
);

View File

@ -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;
}
);
);