Search in sources :

Example 6 with MatchKeyAndSurvivorTableComposite

use of org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite in project tdq-studio-se by Talend.

the class AnaMatchSurvivorSection method createTableComposite.

/*
     * (non-Javadoc)
     * 
     * @see
     * org.talend.dataquality.record.linkage.ui.section.MatchingKeySection#createTableComposite(org.eclipse.swt.widgets
     * .Composite, org.talend.dataquality.rules.MatchRule)
     */
@Override
protected AbsMatchAnalysisTableComposite<?> createTableComposite(Composite ruleComp, MatchRule matchRule) {
    MatchKeyAndSurvivorTableComposite tableComp = new MatchKeyAndSurvivorTableComposite(ruleComp, SWT.NO_FOCUS, matchRule);
    // In case of the section in analysis editor, need to show the input column in matching key table.
    tableComp.setShowInputColumn(true);
    return tableComp;
}
Also used : MatchKeyAndSurvivorTableComposite(org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite)

Example 7 with MatchKeyAndSurvivorTableComposite

use of org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite in project tdq-studio-se by Talend.

the class AnaMatchSurvivorSection method createMatchKeyFromCurrentMatchRule.

@Override
public void createMatchKeyFromCurrentMatchRule(String column) {
    MatchKeyAndSurvivorTableComposite matchRuleTableComp = (MatchKeyAndSurvivorTableComposite) getCurrentMatchRuleTableComposite();
    List<MatchKeyAndSurvivorDefinition> matchAndSurvKeyList = matchRuleWithSurvMap.get(matchRuleTableComp.getMatchRule());
    matchRuleTableComp.addKeyDefinition(column, matchAndSurvKeyList);
}
Also used : MatchKeyAndSurvivorTableComposite(org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite) MatchKeyAndSurvivorDefinition(org.talend.dataquality.record.linkage.ui.composite.tableviewer.definition.MatchKeyAndSurvivorDefinition)

Aggregations

MatchKeyAndSurvivorTableComposite (org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite)7 MatchKeyAndSurvivorDefinition (org.talend.dataquality.record.linkage.ui.composite.tableviewer.definition.MatchKeyAndSurvivorDefinition)4 MatchRule (org.talend.dataquality.rules.MatchRule)3