[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([ define([
'./selection/Selection', './selection/Selection',
'./selection/ContextManager', './selection/ContextManager',
'./selection/SelectGesture' './selection/SelectGesture',
], function (Selection, ContextManager, SelectGesture) { './ui/ViewRegistry'
], function (Selection, ContextManager, SelectGesture, ViewRegistry) {
var openmct = {}; var openmct = {};
var selection = new Selection(); var selection = new Selection();
var manager = new ContextManager(); var manager = new ContextManager();
var select = new SelectGesture(manager, selection); var select = new SelectGesture(manager, selection);
openmct.selection = new selection; openmct.selection = selection;
openmct.inspectors = new ViewRegistry();
openmct.gestures = { openmct.gestures = {
selectable: select.apply.bind(select) selectable: select.apply.bind(select)