GenerateToNotebook and Deploy buttons for Notebook Wizards (#12656)

* 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
This commit is contained in:
Arvind Ranasaria
2020-09-29 18:12:30 -07:00
committed by GitHub
parent fd5acf7ab1
commit b8de69dfac
15 changed files with 203 additions and 75 deletions

View File

@@ -5,8 +5,10 @@
import * as azdata from 'azdata';
import { Validator } from './modelViewUtils';
import { WizardPageInfo } from './wizardPageInfo';
export abstract class WizardPageBase<T> {
private _page: azdata.window.WizardPage;
private _validators: Validator[] = [];
@@ -23,9 +25,9 @@ export abstract class WizardPageBase<T> {
return this._wizard;
}
public async onEnter(): Promise<void> { }
public async onEnter(_pageInfo?: WizardPageInfo): Promise<void> { }
public async onLeave(): Promise<void> { }
public async onLeave(_pageInfo?: WizardPageInfo): Promise<void> { }
public abstract initialize(): void;