mirror of
https://github.com/nasa/openmct.git
synced 2025-06-23 01:18:57 +00:00
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:
committed by
Pete Richards
parent
f06427cb3e
commit
32a0baa7a3
@ -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
|
||||
};
|
||||
});
|
||||
|
Reference in New Issue
Block a user