use of org.talend.dataquality.record.linkage.ui.section.definition.DefaultSurvivorshipDefinitionSection in project tdq-studio-se by Talend.
the class MatchRuleMasterDetailsPage method createDefaultSurvivorshipSection.
/**
* DOC HHB Comment method "createSurvivorshipSection".
*
* @param mainComp
*
* private void createSurvivorshipSection(Composite mainComp) { survivorshipDefinitionSection = new
* SurvivorshipDefinitionSection(form, mainComp, toolkit);
* survivorshipDefinitionSection.setMatchRuleDef(getCurrentModelElement());
* survivorshipDefinitionSection.createContent(); survivorshipDefinitionSection.addPropertyChangeListener(this);
* survivorshipDefinitionSection.changeSectionDisStatus(!selectAlgorithmSection.isVSRMode());
* survivorshipDefinitionSection.getSection().setExpanded(true); }
*/
private void createDefaultSurvivorshipSection(Composite mainComp) {
defaultSurvivorshipDefinitionSection = new DefaultSurvivorshipDefinitionSection(form, mainComp, toolkit);
defaultSurvivorshipDefinitionSection.setMatchRuleDef(getCurrentModelElement());
defaultSurvivorshipDefinitionSection.createContent();
defaultSurvivorshipDefinitionSection.addPropertyChangeListener(this);
defaultSurvivorshipDefinitionSection.changeSectionDisStatus(!selectAlgorithmSection.isVSRMode());
defaultSurvivorshipDefinitionSection.getSection().setExpanded(true);
registerSection(defaultSurvivorshipDefinitionSection.getSection());
}
use of org.talend.dataquality.record.linkage.ui.section.definition.DefaultSurvivorshipDefinitionSection in project tdq-studio-se by Talend.
the class MatchAnalysisDetailsPage method createDefaultSurvivorshipSection.
private void createDefaultSurvivorshipSection() {
defaultSurvivorshipDefinitionSection = new DefaultSurvivorshipDefinitionSection(form, topComp, toolkit);
RecordMatchingIndicator recordMatchingIndicator = MatchRuleAnlaysisUtils.getRecordMatchIndicatorFromAna(getCurrentModelElement());
defaultSurvivorshipDefinitionSection.setMatchRuleDef(recordMatchingIndicator.getBuiltInMatchRuleDefinition());
defaultSurvivorshipDefinitionSection.createContent();
registerSection(defaultSurvivorshipDefinitionSection.getSection());
defaultSurvivorshipDefinitionSection.addPropertyChangeListener(this);
defaultSurvivorshipDefinitionSection.changeSectionDisStatus(!selectAlgorithmSection.isVSRMode());
defaultSurvivorshipDefinitionSection.getSection().setExpanded(getExpandedStatus(defaultSurvivorshipDefinitionSection.getSection().getText()));
selectAlgorithmSection.setDefaultSurvivorshipDefinitionSection(defaultSurvivorshipDefinitionSection);
}
Aggregations