Prefer getElement() to view registry for Docks, PaneContainer & Pane

This commit is contained in:
Matthew Dapena-Tretter
2017-03-20 19:52:01 -07:00
parent 6f9893d77d
commit 98e7fcc505
10 changed files with 50 additions and 31 deletions

View File

@@ -56,7 +56,8 @@ module.exports = class Workspace extends Model {
config: this.config,
applicationDelegate: this.applicationDelegate,
notificationManager: this.notificationManager,
deserializerManager: this.deserializerManager
deserializerManager: this.deserializerManager,
viewRegistry: this.viewRegistry
})
this.paneContainer.onDidDestroyPaneItem(this.didDestroyPaneItem)
@@ -108,7 +109,8 @@ module.exports = class Workspace extends Model {
config: this.config,
applicationDelegate: this.applicationDelegate,
notificationManager: this.notificationManager,
deserializerManager: this.deserializerManager
deserializerManager: this.deserializerManager,
viewRegistry: this.viewRegistry
})
this.paneContainer.onDidDestroyPaneItem(this.didDestroyPaneItem)