use of org.talend.dataquality.record.linkage.ui.composite.SurvivorshipTableComposite in project tdq-studio-se by Talend.
the class SurvivorshipDefinitionSection method createSubContent.
@Override
protected Composite createSubContent(Composite sectionClient) {
Composite ruleComp = toolkit.createComposite(sectionClient, SWT.NONE);
GridData data = new GridData(GridData.FILL_BOTH);
ruleComp.setLayoutData(data);
GridLayout gridLayout = new GridLayout(1, true);
gridLayout.marginWidth = 0;
gridLayout.marginHeight = 0;
ruleComp.setLayout(gridLayout);
tableComposite = new SurvivorshipTableComposite(ruleComp, SWT.NO_FOCUS);
tableComposite.addPropertyChangeListener(this);
tableComposite.setLayout(gridLayout);
tableComposite.setLayoutData(data);
tableComposite.createContent();
section.setExpanded(true);
tableComposite.serViewerSorter(new KeyDefinitionTableViewerSorter<SurvivorshipKeyDefinition>(this.matchRuleDef.getSurvivorshipKeys()));
initTableInput();
return ruleComp;
}
Aggregations