[Selection] Expose context menu adapter

This commit is contained in:
Victor Woeltjen 2016-09-22 11:51:00 -07:00
parent fdab4a614f
commit 4ce952846c

View File

@ -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"]
}
]
}
});