Search in sources :

Example 1 with MatchAnaColumnContentProvider

use of org.talend.dataprofiler.core.ui.wizard.analysis.provider.MatchAnaColumnContentProvider in project tdq-studio-se by Talend.

the class MetadataAndColumnSelectionDialog method initProvider.

@Override
protected void initProvider() {
    fLabelProvider = new DBTablesViewLabelProvider();
    // use the contenprovider of MatchAnaColumnContentProvider for match analysis
    fContentProvider = new MatchAnaColumnContentProvider(false);
    sLabelProvider = new DBTablesViewLabelProvider();
    sContentProvider = new ModelElementContentProvider();
}
Also used : DBTablesViewLabelProvider(org.talend.dataprofiler.core.ui.dialog.provider.DBTablesViewLabelProvider) MatchAnaColumnContentProvider(org.talend.dataprofiler.core.ui.wizard.analysis.provider.MatchAnaColumnContentProvider)

Example 2 with MatchAnaColumnContentProvider

use of org.talend.dataprofiler.core.ui.wizard.analysis.provider.MatchAnaColumnContentProvider in project tdq-studio-se by Talend.

the class MatchWizard method addPages.

// make the next button available and the next page is to select columns
@Override
public void addPages() {
    metadataPage = new AnalysisMetadataWizardPage();
    addPage(metadataPage);
    AnalysisParameter parameter = (AnalysisParameter) getParameter();
    if (parameter.getConnectionRepNode() == null && parameter.getAnalysisType().equals(AnalysisType.MATCH_ANALYSIS)) {
        selectionPage = new ColumnAnalysisDOSelectionPage(new MatchAnaColumnContentProvider(true));
        addPage(selectionPage);
    }
    for (IWizardPage page : getExtenalPages()) {
        addPage(page);
    }
}
Also used : MatchAnaColumnContentProvider(org.talend.dataprofiler.core.ui.wizard.analysis.provider.MatchAnaColumnContentProvider) AnalysisParameter(org.talend.dq.analysis.parameters.AnalysisParameter) IWizardPage(org.eclipse.jface.wizard.IWizardPage) AnalysisMetadataWizardPage(org.talend.dataprofiler.core.ui.wizard.analysis.AnalysisMetadataWizardPage)

Aggregations

MatchAnaColumnContentProvider (org.talend.dataprofiler.core.ui.wizard.analysis.provider.MatchAnaColumnContentProvider)2 IWizardPage (org.eclipse.jface.wizard.IWizardPage)1 DBTablesViewLabelProvider (org.talend.dataprofiler.core.ui.dialog.provider.DBTablesViewLabelProvider)1 AnalysisMetadataWizardPage (org.talend.dataprofiler.core.ui.wizard.analysis.AnalysisMetadataWizardPage)1 AnalysisParameter (org.talend.dq.analysis.parameters.AnalysisParameter)1