Initial implementation of Edit mode (#2181)

* Adding edit mode API and buttons

* Select navigated object by default. Enable table configuration in edit mode.

* Fixed issue with Table configuration

* Removed debugging code

* Added basic documentation to Editor API

* use selectable, table is selection[0], inspector cleans up

Update browse to set selection using openmct.selection.selectable
on navation so that selection contexts can be determined correctly.

Update table configuration to reference the first item in selection
instead of the last item in selection when displaying.

Update inspector code to remove display node from document on destroy.

* properly remove capturing handler

* inspector views respond to editing

InspectorViews respond to editing instead of openmct rerendering
the inspector on edit.
This commit is contained in:
Andrew Henry
2018-10-04 12:35:03 -07:00
committed by Pete Richards
parent 56b9708ab7
commit 3c324cbea0
11 changed files with 210 additions and 93 deletions

View File

@ -28,7 +28,9 @@ define([
'./ui/Dialog',
'./ui/GestureAPI',
'./telemetry/TelemetryAPI',
'./indicators/IndicatorAPI'
'./indicators/IndicatorAPI',
'./Editor'
], function (
TimeAPI,
ObjectAPI,
@ -37,7 +39,8 @@ define([
Dialog,
GestureAPI,
TelemetryAPI,
IndicatorAPI
IndicatorAPI,
EditorAPI
) {
return {
TimeAPI: TimeAPI,
@ -47,6 +50,7 @@ define([
TypeRegistry: TypeRegistry,
GestureAPI: GestureAPI,
TelemetryAPI: TelemetryAPI,
IndicatorAPI: IndicatorAPI
IndicatorAPI: IndicatorAPI,
EditorAPI: EditorAPI
};
});