Search in sources :

Example 1 with DefaultSurvivorshipDefinitionSection

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());
}
Also used : DefaultSurvivorshipDefinitionSection(org.talend.dataquality.record.linkage.ui.section.definition.DefaultSurvivorshipDefinitionSection)

Example 2 with DefaultSurvivorshipDefinitionSection

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);
}
Also used : DefaultSurvivorshipDefinitionSection(org.talend.dataquality.record.linkage.ui.section.definition.DefaultSurvivorshipDefinitionSection) RecordMatchingIndicator(org.talend.dataquality.indicators.columnset.RecordMatchingIndicator)

Aggregations

DefaultSurvivorshipDefinitionSection (org.talend.dataquality.record.linkage.ui.section.definition.DefaultSurvivorshipDefinitionSection)2 RecordMatchingIndicator (org.talend.dataquality.indicators.columnset.RecordMatchingIndicator)1