Context menu actions (#2229)

* Adding jsdoc to Context Menu Registry

* Remove attachTo function - make context menu gesture a mixin. Update object path when objects change.

* Added context menu from arrow button. Some minor refactoring

* Clarify variable naming

* Moved Context Menu component

* Reorder function definitions

* Addressed code review comments
This commit is contained in:
Andrew Henry
2018-12-04 09:09:09 -08:00
committed by Pete Richards
parent f06427cb3e
commit 32a0baa7a3
12 changed files with 180 additions and 88 deletions

View File

@ -28,7 +28,7 @@ define([
'./telemetry/TelemetryAPI',
'./indicators/IndicatorAPI',
'./notifications/NotificationAPI',
'./contextMenu/ContextMenuRegistry',
'./contextMenu/ContextMenuAPI',
'./Editor'
], function (
@ -39,7 +39,7 @@ define([
TelemetryAPI,
IndicatorAPI,
NotificationAPI,
ContextMenuRegistry,
ContextMenuAPI,
EditorAPI
) {
return {
@ -51,6 +51,6 @@ define([
IndicatorAPI: IndicatorAPI,
NotificationAPI: NotificationAPI.default,
EditorAPI: EditorAPI,
ContextMenuRegistry: ContextMenuRegistry.default
ContextMenuRegistry: ContextMenuAPI.default
};
});