mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[Selection] Expose context menu adapter
This commit is contained in:
parent
fdab4a614f
commit
4ce952846c
@ -20,7 +20,11 @@
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
|
||||
define(['legacyRegistry', '../openmct'], function (legacyRegistry, openmct) {
|
||||
define([
|
||||
'legacyRegistry',
|
||||
'./gestures/AdaptedContextMenuGesture',
|
||||
'../openmct'
|
||||
], function (legacyRegistry, AdaptedContextMenuGesture, openmct) {
|
||||
legacyRegistry.register('adapter', {
|
||||
extensions: {
|
||||
services: [
|
||||
@ -30,6 +34,14 @@ define(['legacyRegistry', '../openmct'], function (legacyRegistry, openmct) {
|
||||
return openmct;
|
||||
}
|
||||
}
|
||||
],
|
||||
gestures: [
|
||||
{
|
||||
key: "menu",
|
||||
implementation: AdaptedContextMenuGesture,
|
||||
priority: "preferred",
|
||||
depends: ["openmct"]
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user