Add Panel.getElement and remove Panel view provider

This commit is contained in:
Max Brunsfeld
2017-04-05 16:10:21 -07:00
parent e40ef03008
commit d0421a75c8
8 changed files with 58 additions and 59 deletions

View File

@@ -1503,7 +1503,7 @@ module.exports = class Workspace extends Model {
addPanel (location, options) {
if (options == null) { options = {} }
return this.panelContainers[location].addPanel(new Panel(options))
return this.panelContainers[location].addPanel(new Panel(options, this.viewRegistry))
}
/*