mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[Selection] Expose inspector registry
This commit is contained in:
parent
0a64e9f515
commit
4e1cfac4b9
@ -23,14 +23,17 @@
|
||||
define([
|
||||
'./selection/Selection',
|
||||
'./selection/ContextManager',
|
||||
'./selection/SelectGesture'
|
||||
], function (Selection, ContextManager, SelectGesture) {
|
||||
'./selection/SelectGesture',
|
||||
'./ui/ViewRegistry'
|
||||
], function (Selection, ContextManager, SelectGesture, ViewRegistry) {
|
||||
var openmct = {};
|
||||
var selection = new Selection();
|
||||
var manager = new ContextManager();
|
||||
var select = new SelectGesture(manager, selection);
|
||||
|
||||
openmct.selection = new selection;
|
||||
openmct.selection = selection;
|
||||
|
||||
openmct.inspectors = new ViewRegistry();
|
||||
|
||||
openmct.gestures = {
|
||||
selectable: select.apply.bind(select)
|
||||
|
Loading…
Reference in New Issue
Block a user