'use strict' ; import { ALObjectWizard } from "./alObjectWizard" ; import { ALReportWizardData } from './alReportWizardData' ; import { ALReportWizardPage } from './alReportWizardPage' ; import { ALLangServerProxy } from '../../allanguage/alLangServerProxy' ; import { DevToolsExtensionContext } from '../../devToolsExtensionContext' ; import { ALObjectWizardSettings } from "./alObjectWizardSettings" ; export class ALReportWizard 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 ( ) , "Report" ) ; let wizardData = new ALReportWizardData ( ) ; wizardData . objectId = objectId . toString ( ) ; wizardData . objectName = '' ; wizardData . rdlcLayout = '' ; let wizardPage = new ALReportWizardPage ( this . _toolsExtensionContext , settings , wizardData ) ; wizardPage . show ( ) ; } }