'use strict' ; import { ALObjectWizard } from "./alObjectWizard" ; import { DevToolsExtensionContext } from "../../devToolsExtensionContext" ; import { ALObjectWizardSettings } from "./alObjectWizardSettings" ; import { ALLangServerProxy } from "../../allanguage/alLangServerProxy" ; import { ALTableWizardData } from "./alTableWizardData" ; import { ALTableWizardPage } from "./alTableWizardPage" ; export class ALTableWizard extends ALObjectWizard { constructor ( toolsExtensionContext , newLabel , newDescription , newDetails ) { super ( toolsExtensionContext , newLabel , newDescription , newDetails ) ; } run ( settings ) { super . run ( settings ) ; this . runAsync ( settings ) ; } protected async runAsync ( settings ) { let objectId = await this . _toolsExtensionContext . toolsLangServerClient . getNextObjectId ( settings . getDestDirectoryPath ( ) , "table" ) ; let wizardData = new ALTableWizardData ( ) ; wizardData . objectId = objectId . toString ( ) ; wizardData . objectName = '' ; let wizardPage = new ALTableWizardPage ( this . _toolsExtensionContext , settings , wizardData ) ; wizardPage . show ( ) ; } }