Search in sources :

Example 1 with MatchRuleDataChart

use of org.talend.dataquality.record.linkage.ui.composite.chart.MatchRuleDataChart in project tdq-studio-se by Talend.

the class GroupStatisticsSection method createSubChart.

/*
     * (non-Javadoc)
     * 
     * @see
     * org.talend.dataquality.record.linkage.ui.section.AbstractMatchAnaysisTableSection#createSubChart(org.eclipse.
     * swt.widgets.Composite)
     */
@Override
protected void createSubChart(Composite sectionClient) {
    RecordMatchingIndicator recordMatchingIndicator = MatchRuleAnlaysisUtils.getRecordMatchIndicatorFromAna(analysis);
    Composite chartComposite = toolkit.createComposite(sectionClient);
    GridLayout tableLayout = new GridLayout(1, Boolean.TRUE);
    chartComposite.setLayout(tableLayout);
    GridData gridData = new GridData(GridData.FILL_BOTH);
    chartComposite.setLayoutData(gridData);
    matchRuleChartComp = new MatchRuleDataChart(chartComposite, recordMatchingIndicator.getGroupSize2groupFrequency());
    if (!TOPChartUtil.getInstance().isTOPChartInstalled()) {
        return;
    }
    createHideGroupComposite(chartComposite);
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) MatchRuleDataChart(org.talend.dataquality.record.linkage.ui.composite.chart.MatchRuleDataChart) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) RecordMatchingIndicator(org.talend.dataquality.indicators.columnset.RecordMatchingIndicator)

Example 2 with MatchRuleDataChart

use of org.talend.dataquality.record.linkage.ui.composite.chart.MatchRuleDataChart in project tdq-studio-se by Talend.

the class MatchingKeySection method createSubChart.

/*
     * (non-Javadoc)
     * 
     * @see
     * org.talend.dataquality.record.linkage.ui.section.AbstractMatchTableSection#createSubChart(org.eclipse.swt.widgets
     * .Composite)
     */
@Override
protected void createSubChart(Composite sectionClient) {
    Composite chartComposite = toolkit.createComposite(sectionClient);
    GridLayout tableLayout = new GridLayout(1, Boolean.TRUE);
    chartComposite.setLayout(tableLayout);
    GridData gridData = new GridData(GridData.FILL_BOTH);
    chartComposite.setLayoutData(gridData);
    matchRuleChartComp = new MatchRuleDataChart(chartComposite, new HashMap<Object, Long>());
    if (!TOPChartUtil.getInstance().isTOPChartInstalled()) {
        return;
    }
    createHideGroupComposite(chartComposite);
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) MatchRuleDataChart(org.talend.dataquality.record.linkage.ui.composite.chart.MatchRuleDataChart) Composite(org.eclipse.swt.widgets.Composite) MatchRuleTableComposite(org.talend.dataquality.record.linkage.ui.composite.MatchRuleTableComposite) AbsMatchAnalysisTableComposite(org.talend.dataquality.record.linkage.ui.composite.AbsMatchAnalysisTableComposite) HashMap(java.util.HashMap) GridData(org.eclipse.swt.layout.GridData)

Aggregations

GridData (org.eclipse.swt.layout.GridData)2 GridLayout (org.eclipse.swt.layout.GridLayout)2 Composite (org.eclipse.swt.widgets.Composite)2 MatchRuleDataChart (org.talend.dataquality.record.linkage.ui.composite.chart.MatchRuleDataChart)2 HashMap (java.util.HashMap)1 RecordMatchingIndicator (org.talend.dataquality.indicators.columnset.RecordMatchingIndicator)1 AbsMatchAnalysisTableComposite (org.talend.dataquality.record.linkage.ui.composite.AbsMatchAnalysisTableComposite)1 MatchRuleTableComposite (org.talend.dataquality.record.linkage.ui.composite.MatchRuleTableComposite)1