public dispose(): void { this.isDisposed = true; this.treeContainer = null; if (this.tree) { this.tree.dispose(); } if (this.dragHandler) { this.dragHandler.dispose(); } this.toDispose = dispose(this.toDispose); if (this.toolBar) { this.toolBar.dispose(); } super.dispose(); }
protected updateActions(): void { this.toolBar.setActions(prepareActions(this.getActions()), prepareActions(this.getSecondaryActions()))(); this.toolBar.context = this.getActionsContext(); }