Remove PaneContainer.monitorActivePaneItem

Call didChangeActiveItemOnPane directly from panes and when the active
pane changes instead.
This commit is contained in:
Nathan Sobo
2017-04-06 13:12:51 -06:00
parent 2f7fb3f565
commit ec576b12bc
6 changed files with 13 additions and 59 deletions

View File

@@ -90,10 +90,6 @@ module.exports = class Workspace extends Model {
this.subscribeToEvents()
}
initialize () {
this.paneContainer.initialize()
}
getElement () {
if (!this.element) {
this.element = new WorkspaceElement().initialize(this, {
@@ -164,7 +160,6 @@ module.exports = class Workspace extends Model {
this.destroyedItemURIs = []
this.element = null
this.consumeServices(this.packageManager)
this.initialize()
}
subscribeToEvents () {