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;
}
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);
}
Aggregations