コード例 #1
0
ファイル: views.ts プロジェクト: burhandodhy/azuredatastudio
	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();
	}
コード例 #2
0
ファイル: views.ts プロジェクト: burhandodhy/azuredatastudio
	protected updateActions(): void {
		this.toolBar.setActions(prepareActions(this.getActions()), prepareActions(this.getSecondaryActions()))();
		this.toolBar.context = this.getActionsContext();
	}