Skip to main content
A newer version of this page is available. .

FullscreenDataSourceWizard Class

Implements the functionality for the fullscreen Data Source Wizard.

Declaration

class FullscreenDataSourceWizard extends FullscreenWizard

Inheritance

BaseWizard
PopupWizard
FullscreenWizard
FullscreenDataSourceWizard

constructor(factory, _dataSourceWizardOptions)

Creates a new instance of the BaseWizard class.

Declaration

constructor(
    factory: any,
    _dataSourceWizardOptions: _DataSourceWizardOptions
)

Parameters

Name Type Description
factory any

The page factory.

_dataSourceWizardOptions _DataSourceWizardOptions

The Data Source Wizard options.

Methods

canRunWizard Method

Specifies whether the wizard can run.

Declaration

canRunWizard(): boolean

Returns

Type Description
boolean

true, if users can create new data sources; otherwise, false.

initialize(state) Method

Initializes the wizard with the specified settings.

Declaration

initialize(
    state: IDataSourceWizardState,
    createIterator?: (pageFactory: PageFactory,
    stateManager: StateManager) => PageIterator
): void

Parameters

Name Type Description
state IDataSourceWizardState

The global state.

createIterator (pageFactory: PageFactory, stateManager: StateManager) => PageIterator

A function that creates a wizard iterator.

Remarks

This method initializes the global state with the predefined settings and assigns the PageIterator object.

You can use the beforeInitialize and afterInitialize events to customize the wizard.

See the following topics for more information: