Add Dock component

This commit is contained in:
Matthew Dapena-Tretter
2017-03-09 11:26:10 -08:00
parent 7f5ad9a359
commit bf39947eee
7 changed files with 882 additions and 9 deletions

View File

@@ -19,6 +19,12 @@ class PanelContainerElement extends HTMLElement {
this.subscriptions.add(this.model.onDidAddPanel(this.panelAdded.bind(this)))
this.subscriptions.add(this.model.onDidDestroy(this.destroyed.bind(this)))
this.classList.add(this.model.getLocation())
// Add the dock.
if (this.model.dock != null) {
this.appendChild(this.views.getView(this.model.dock))
}
return this
}