use of org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite in project tdq-studio-se by Talend.
the class AnaMatchSurvivorSection method getMatchRule.
/*
* (non-Javadoc)
*
* @see
* org.talend.dataquality.record.linkage.ui.section.MatchingKeySection#getMatchRule(org.eclipse.swt.custom.CTabItem)
*/
@Override
protected MatchRule getMatchRule(CTabItem tabItem) {
MatchKeyAndSurvivorTableComposite matchRuleTableComp = (MatchKeyAndSurvivorTableComposite) getMatchRuleComposite(tabItem);
MatchRule matchRule = matchRuleTableComp.getMatchRule();
return matchRule;
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite in project tdq-studio-se by Talend.
the class AnaMatchSurvivorSection method removeMatchKeyFromCurrentMatchRule.
@Override
public void removeMatchKeyFromCurrentMatchRule(String column) {
MatchKeyAndSurvivorTableComposite matchRuleTableComp = (MatchKeyAndSurvivorTableComposite) getCurrentMatchRuleTableComposite();
MatchRule matchRule = matchRuleTableComp.getMatchRule();
List<MatchKeyAndSurvivorDefinition> matchAndSurvDefList = matchRuleWithSurvMap.get(matchRule);
matchRuleTableComp.removeKeyDefinition(column, matchAndSurvDefList);
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite in project tdq-studio-se by Talend.
the class AnaMatchSurvivorSection method removeMatchKeyFromCurrentMatchRule.
public void removeMatchKeyFromCurrentMatchRule(MatchKeyAndSurvivorDefinition mAndSDefition) {
MatchKeyAndSurvivorTableComposite matchRuleTableComp = (MatchKeyAndSurvivorTableComposite) getCurrentMatchRuleTableComposite();
matchRuleTableComp.removeKeyDefinition(mAndSDefition, matchRuleWithSurvMap.get(matchRuleTableComp.getMatchRule()));
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite in project tdq-studio-se by Talend.
the class AnaMatchSurvivorSection method remoteKeyDefinition.
/*
* (non-Javadoc)
*
* @see org.talend.dataquality.record.linkage.ui.section.MatchingKeySection#remoteKeyDefinition(java.lang.String,
* org.eclipse.swt.custom.CTabItem)
*/
@Override
protected void remoteKeyDefinition(String column, CTabItem oneTab) {
MatchKeyAndSurvivorTableComposite matchRuleTableComp = (MatchKeyAndSurvivorTableComposite) getMatchRuleComposite(oneTab);
List<MatchKeyAndSurvivorDefinition> matchAndSurvDefList = matchRuleWithSurvMap.get(getMatchRule(oneTab));
matchRuleTableComp.removeKeyDefinition(column, matchAndSurvDefList);
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchKeyAndSurvivorTableComposite in project tdq-studio-se by Talend.
the class AnaMatchSurvivorSection method getCurrentTabDefinitions.
/*
* (non-Javadoc)
*
* @see org.talend.dataquality.record.linkage.ui.section.MatchingKeySection#getCurrentTabDefinitions()
*/
@Override
protected List<?> getCurrentTabDefinitions() {
MatchKeyAndSurvivorTableComposite matchRuleTableComp = (MatchKeyAndSurvivorTableComposite) getCurrentMatchRuleTableComposite();
MatchRule matchRule = matchRuleTableComp.getMatchRule();
List<MatchKeyAndSurvivorDefinition> matchAndSurvDefList = matchRuleWithSurvMap.get(matchRule);
return matchAndSurvDefList;
}
Aggregations