mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Migration wizard skeleton setup (#11758)
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import * as azdata from 'azdata';
|
||||
import { WIZARD_TITLE } from '../models/strings';
|
||||
import { SourceConfigurationPage } from './sourceConfigurationPage';
|
||||
import { MigrationStateModel } from '../models/stateMachine';
|
||||
|
||||
export class WizardController {
|
||||
constructor() {
|
||||
@@ -9,6 +13,12 @@ export class WizardController {
|
||||
}
|
||||
|
||||
public async openWizard(): Promise<void> {
|
||||
}
|
||||
|
||||
public async createWizard(): Promise<void> {
|
||||
azdata.window.createWizard(WIZARD_TITLE, 'wide');
|
||||
const stateModel = new MigrationStateModel({} as azdata.IConnectionProfile);
|
||||
new SourceConfigurationPage(stateModel);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user