mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
* enable userChooses how to run notebook * arc ext changes * nb fixes * working version * revert unneeded changes * fix comments * Update interfaces.ts * fix comments * fix comments * fix comments * runAllCells instead of background execute * pr feedback * PR feedback * pr feedback * arc ext changes for new WizardInfo syntax * fix doc comments * pr feedback
27 lines
771 B
TypeScript
27 lines
771 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
export class WizardPageInfo {
|
|
public get pageCount(): number {
|
|
return this._pageCount;
|
|
}
|
|
|
|
public get currentPageId(): number {
|
|
return this._currentPageId;
|
|
}
|
|
|
|
public get isFirstPage(): boolean {
|
|
return this._currentPageId === 0;
|
|
}
|
|
|
|
public get isLastPage(): boolean {
|
|
return this._currentPageId === this._pageCount - 1;
|
|
}
|
|
|
|
constructor(private _currentPageId: number, private _pageCount: number) {
|
|
}
|
|
|
|
}
|