[Selection] Expose inspector registry

This commit is contained in:
Victor Woeltjen 2016-09-21 12:30:36 -07:00
parent 0a64e9f515
commit 4e1cfac4b9

View File

@ -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)