Search in sources :

Example 1 with CreateSqlFileWizard

use of org.talend.dataprofiler.core.sql.CreateSqlFileWizard in project tdq-studio-se by Talend.

the class WizardFactory method createSqlFileWizard.

public static Wizard createSqlFileWizard(IFolder folder) {
    SqlFileParameter parameter = new SqlFileParameter();
    FolderProvider folderProvider = parameter.getFolderProvider();
    if (folderProvider == null) {
        folderProvider = new FolderProvider();
    }
    folderProvider.setFolderResource(folder);
    parameter.setFolderProvider(folderProvider);
    return new CreateSqlFileWizard(parameter);
}
Also used : FolderProvider(org.talend.cwm.management.api.FolderProvider) SqlFileParameter(org.talend.dq.analysis.parameters.SqlFileParameter) CreateSqlFileWizard(org.talend.dataprofiler.core.sql.CreateSqlFileWizard)

Aggregations

FolderProvider (org.talend.cwm.management.api.FolderProvider)1 CreateSqlFileWizard (org.talend.dataprofiler.core.sql.CreateSqlFileWizard)1 SqlFileParameter (org.talend.dq.analysis.parameters.SqlFileParameter)1