[JSDoc] Add namespace docs

WTD-1482.
This commit is contained in:
Victor Woeltjen
2015-08-07 12:13:15 -07:00
parent eaaa1a19ca
commit 31eb366e7f
26 changed files with 104 additions and 12 deletions

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* Implements Open MCT Web's About dialog.
* @namespace platform/commonUI/about
*/
define( define(
[], [],
function () { function () {

View File

@ -22,7 +22,8 @@
/*global define,Promise*/ /*global define,Promise*/
/** /**
* Module defining BrowseController. Created by vwoeltje on 11/7/14. * This bundle implements Browse mode.
* @namespace platform/commonUI/browse
*/ */
define( define(
[], [],

View File

@ -22,7 +22,9 @@
/*global define*/ /*global define*/
/** /**
* Module defining DialogService. Created by vwoeltje on 11/10/14. * This bundle implements the dialog service, which can be used to
* launch dialogs for user input & notifications.
* @namespace platform/commonUI/dialog
*/ */
define( define(
[], [],

View File

@ -22,7 +22,8 @@
/*global define,Promise*/ /*global define,Promise*/
/** /**
* Module defining EditController. Created by vwoeltje on 11/14/14. * This bundle implements Edit mode.
* @namespace platform/commonUI/edit
*/ */
define( define(
["../objects/EditableDomainObject"], ["../objects/EditableDomainObject"],

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle provides various general-purpose UI elements, including
* platform styling.
* @namespace platform/commonUI/general
*/
define( define(
[], [],
function () { function () {

View File

@ -20,6 +20,13 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle provides support for object inspection (specifically, metadata
* show in bubbles on hover.)
* @namespace platform/commonUI/inspect
*/
define({ define({
BUBBLE_TEMPLATE: "<mct-container key=\"bubble\" " + BUBBLE_TEMPLATE: "<mct-container key=\"bubble\" " +
"bubble-title=\"{{bubbleTitle}}\" " + "bubble-title=\"{{bubbleTitle}}\" " +

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle implements "containment" rules, which determine which objects
* can be contained within which other objects.
* @namespace platform/containment
*/
define( define(
['./ContainmentTable'], ['./ContainmentTable'],
function (ContainmentTable) { function (ContainmentTable) {

View File

@ -22,7 +22,9 @@
/*global define,Promise*/ /*global define,Promise*/
/** /**
* Module defining DomainObjectProvider. Created by vwoeltje on 11/7/14. * This bundle implements core components of Open MCT Web's service
* infrastructure and information model.
* @namespace platform/core
*/ */
define( define(
["./DomainObject"], ["./DomainObject"],

View File

@ -22,6 +22,11 @@
/*global define */ /*global define */
/**
* This bundle implements actions which control the location of objects
* (move, copy, link.)
* @namespace platform/entanglement
*/
define( define(
function () { function () {
"use strict"; "use strict";

View File

@ -21,6 +21,12 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle contains services for managing the flow of execution,
* such as support for running web workers on background threads.
* @namespace platform/execution
*/
define( define(
[], [],
function () { function () {

View File

@ -21,11 +21,16 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/** /*
* Module defining EventListController. * Module defining EventListController.
* Created by chacskaylo on 06/18/2015. * Created by chacskaylo on 06/18/2015.
* Modified by shale on 06/23/2015. * Modified by shale on 06/23/2015.
*/ */
/**
* This bundle implements the "Events" view of string telemetry.
* @namespace platform/features/events
*/
define( define(
["./DomainColumn", "./RangeColumn", "./EventListPopulator"], ["./DomainColumn", "./RangeColumn", "./EventListPopulator"],
function (DomainColumn, RangeColumn, EventListPopulator) { function (DomainColumn, RangeColumn, EventListPopulator) {

View File

@ -21,6 +21,10 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle implements views of image telemetry.
* @namespace platform/features/imagery
*/
define( define(
['moment'], ['moment'],
function (moment) { function (moment) {

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle implements object types and associated views for
* display-building.
* @namespace platform/features/layout
*/
define( define(
['./LayoutDrag'], ['./LayoutDrag'],
function (LayoutDrag) { function (LayoutDrag) {

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle adds the Web Page object type, which can be used to embed
* other web pages with layouts.
* @namespace platform/features/pages
*/
define( define(
[], [],
function () { function () {

View File

@ -22,7 +22,8 @@
/*global define*/ /*global define*/
/** /**
* Module defining PlotController. Created by vwoeltje on 11/12/14. * This bundle adds a "Plot" view for numeric telemetry data.
* @namespace platform/features/plot
*/ */
define( define(
[ [

View File

@ -22,7 +22,8 @@
/*global define,Promise*/ /*global define,Promise*/
/** /**
* Module defining ListController. Created by vwoeltje on 11/18/14. * This bundle implements a "Scrolling List" view of telemetry data.
* @namespace platform/features/scrolling
*/ */
define( define(
["./NameColumn", "./DomainColumn", "./RangeColumn", "./ScrollingListPopulator"], ["./NameColumn", "./DomainColumn", "./RangeColumn", "./ScrollingListPopulator"],

View File

@ -22,7 +22,9 @@
/*global define,Promise*/ /*global define,Promise*/
/** /**
* Module defining MCTForm. Created by vwoeltje on 11/10/14. * This bundle implements directives for displaying and handling forms for
* user input.
* @namespace platform/forms
*/ */
define( define(
["./controllers/FormController"], ["./controllers/FormController"],

View File

@ -32,6 +32,11 @@ requirejs.config({
} }
}); });
/**
* Implements the framework layer, which handles the loading of bundles
* and the wiring-together of the extensions they expose.
* @namespace platform/framework
*/
define( define(
[ [
'require', 'require',

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle decorates the persistence service to maintain a local cache
* of persisted documents.
* @namespace platform/persistence/cache
*/
define( define(
[], [],
function () { function () {

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle implements a persistence service which uses CouchDB to
* store documents.
* @namespace platform/persistence/cache
*/
define( define(
["./CouchDocument"], ["./CouchDocument"],
function (CouchDocument) { function (CouchDocument) {

View File

@ -21,6 +21,11 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle implements a persistence service which uses ElasticSearch to
* store documents.
* @namespace platform/persistence/elastic
*/
define( define(
[], [],
function () { function () {

View File

@ -22,7 +22,10 @@
/*global define,Promise*/ /*global define,Promise*/
/** /**
* Module defining CoreCapabilityProvider. Created by vwoeltje on 11/7/14. * This bundle decorates the persistence service to handle persistence
* in batches, and to provide notification of persistence errors in batches
* as well.
* @namespace platform/persistence/queue
*/ */
define( define(
['./QueuingPersistenceCapability'], ['./QueuingPersistenceCapability'],

View File

@ -21,6 +21,10 @@
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/**
* This bundle implements the policy service.
* @namespace platform/policy
*/
define( define(
[], [],
function () { function () {

View File

@ -22,7 +22,9 @@
/*global define,Promise*/ /*global define,Promise*/
/** /**
* Module defining MCTRepresentation. Created by vwoeltje on 11/7/14. * This bundle implements the directives for representing domain objects
* as Angular-managed HTML.
* @namespace platform/representation
*/ */
define( define(
[], [],

View File

@ -30,7 +30,6 @@ define({
* The string identifier for the data type used for drag-and-drop * The string identifier for the data type used for drag-and-drop
* composition of domain objects. (e.g. in event.dataTransfer.setData * composition of domain objects. (e.g. in event.dataTransfer.setData
* calls.) * calls.)
* @constructor
* @memberof platform/representation.GestureConstants * @memberof platform/representation.GestureConstants
*/ */
MCT_DRAG_TYPE: 'mct-domain-object-id', MCT_DRAG_TYPE: 'mct-domain-object-id',

View File

@ -22,7 +22,9 @@
/*global define*/ /*global define*/
/** /**
* Module defining TelemetryProvider. Created by vwoeltje on 11/12/14. * This bundle provides infrastructure and utility services for handling
* telemetry data.
* @namespace platform/telemetry
*/ */
define( define(
[], [],