From 31eb366e7fbaeae15172d999f4721308204ada2e Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 7 Aug 2015 12:13:15 -0700 Subject: [PATCH] [JSDoc] Add namespace docs WTD-1482. --- platform/commonUI/about/src/AboutController.js | 5 +++++ platform/commonUI/browse/src/BrowseController.js | 3 ++- platform/commonUI/dialog/src/DialogService.js | 4 +++- platform/commonUI/edit/src/controllers/EditController.js | 3 ++- platform/commonUI/general/src/StyleSheetLoader.js | 5 +++++ platform/commonUI/inspect/src/InfoConstants.js | 7 +++++++ platform/containment/src/CompositionPolicy.js | 5 +++++ platform/core/src/objects/DomainObjectProvider.js | 4 +++- platform/entanglement/src/services/LocationService.js | 5 +++++ platform/execution/src/WorkerService.js | 6 ++++++ platform/features/events/src/EventListController.js | 7 ++++++- .../features/imagery/src/controllers/ImageryController.js | 4 ++++ platform/features/layout/src/LayoutController.js | 5 +++++ platform/features/pages/src/EmbeddedPageController.js | 5 +++++ platform/features/plot/src/PlotController.js | 3 ++- platform/features/scrolling/src/ScrollingListController.js | 3 ++- platform/forms/src/MCTForm.js | 4 +++- platform/framework/src/Main.js | 5 +++++ .../persistence/cache/src/CachingPersistenceDecorator.js | 5 +++++ platform/persistence/couch/src/CouchPersistenceProvider.js | 5 +++++ .../persistence/elastic/src/ElasticPersistenceProvider.js | 5 +++++ .../queue/src/QueuingPersistenceCapabilityDecorator.js | 5 ++++- platform/policy/src/PolicyProvider.js | 4 ++++ platform/representation/src/MCTRepresentation.js | 4 +++- platform/representation/src/gestures/GestureConstants.js | 1 - platform/telemetry/src/TelemetryAggregator.js | 4 +++- 26 files changed, 104 insertions(+), 12 deletions(-) diff --git a/platform/commonUI/about/src/AboutController.js b/platform/commonUI/about/src/AboutController.js index b2fce0bdfd..c40df7e824 100644 --- a/platform/commonUI/about/src/AboutController.js +++ b/platform/commonUI/about/src/AboutController.js @@ -21,6 +21,11 @@ *****************************************************************************/ /*global define*/ + +/** + * Implements Open MCT Web's About dialog. + * @namespace platform/commonUI/about + */ define( [], function () { diff --git a/platform/commonUI/browse/src/BrowseController.js b/platform/commonUI/browse/src/BrowseController.js index 7d65db507d..b10e0a598a 100644 --- a/platform/commonUI/browse/src/BrowseController.js +++ b/platform/commonUI/browse/src/BrowseController.js @@ -22,7 +22,8 @@ /*global define,Promise*/ /** - * Module defining BrowseController. Created by vwoeltje on 11/7/14. + * This bundle implements Browse mode. + * @namespace platform/commonUI/browse */ define( [], diff --git a/platform/commonUI/dialog/src/DialogService.js b/platform/commonUI/dialog/src/DialogService.js index a435d287e5..e23d0d7c8e 100644 --- a/platform/commonUI/dialog/src/DialogService.js +++ b/platform/commonUI/dialog/src/DialogService.js @@ -22,7 +22,9 @@ /*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( [], diff --git a/platform/commonUI/edit/src/controllers/EditController.js b/platform/commonUI/edit/src/controllers/EditController.js index f0f2822207..9b0c228ac3 100644 --- a/platform/commonUI/edit/src/controllers/EditController.js +++ b/platform/commonUI/edit/src/controllers/EditController.js @@ -22,7 +22,8 @@ /*global define,Promise*/ /** - * Module defining EditController. Created by vwoeltje on 11/14/14. + * This bundle implements Edit mode. + * @namespace platform/commonUI/edit */ define( ["../objects/EditableDomainObject"], diff --git a/platform/commonUI/general/src/StyleSheetLoader.js b/platform/commonUI/general/src/StyleSheetLoader.js index fe535df888..19c0ffc291 100644 --- a/platform/commonUI/general/src/StyleSheetLoader.js +++ b/platform/commonUI/general/src/StyleSheetLoader.js @@ -21,6 +21,11 @@ *****************************************************************************/ /*global define*/ +/** + * This bundle provides various general-purpose UI elements, including + * platform styling. + * @namespace platform/commonUI/general + */ define( [], function () { diff --git a/platform/commonUI/inspect/src/InfoConstants.js b/platform/commonUI/inspect/src/InfoConstants.js index c5886cba92..4927de870f 100644 --- a/platform/commonUI/inspect/src/InfoConstants.js +++ b/platform/commonUI/inspect/src/InfoConstants.js @@ -20,6 +20,13 @@ * at runtime from the About dialog for additional information. *****************************************************************************/ /*global define*/ + +/** + * This bundle provides support for object inspection (specifically, metadata + * show in bubbles on hover.) + * @namespace platform/commonUI/inspect + */ + define({ BUBBLE_TEMPLATE: "