Search in sources :

Example 16 with TableStructureEntity

use of org.talend.dataprofiler.core.ui.editor.preview.model.entity.TableStructureEntity in project tdq-studio-se by Talend.

the class FunctionalDependencyAnalysisResultPage method getTableStructure.

/**
 * DOC jet Comment method "getRowLabel".
 * <p>
 * according to ColumnDependencyIndicator get chart label.
 * <p>
 * value is columnA.getName() -> columnB.getName()
 *
 * @param indicator
 * @return
 * @deprecated
 */
// private String getRowLabel(ColumnDependencyIndicator indicator) {
// assert indicator.getColumnA() != null;
// assert indicator.getColumnB() != null;
// 
// return indicator.getColumnA().getName() + "-->" + indicator.getColumnB().getName(); //$NON-NLS-1$
// }
@Deprecated
private TableStructureEntity getTableStructure() {
    TableStructureEntity entity = new TableStructureEntity();
    entity.setFieldNames(new String[] { DefaultMessagesImpl.getString("ColumnDependencyState.Label"), DefaultMessagesImpl.getString("ColumnDependencyState.Match"), DefaultMessagesImpl.getString("ColumnDependencyState.%Match"), // $NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
    DefaultMessagesImpl.getString("ColumnDependencyState.rows") });
    entity.setFieldWidths(new Integer[] { 200, 85, 85, 85 });
    return entity;
}
Also used : TableStructureEntity(org.talend.dataprofiler.core.ui.editor.preview.model.entity.TableStructureEntity)

Aggregations

TableStructureEntity (org.talend.dataprofiler.core.ui.editor.preview.model.entity.TableStructureEntity)16 TableViewer (org.eclipse.jface.viewers.TableViewer)1 GridData (org.eclipse.swt.layout.GridData)1 Table (org.eclipse.swt.widgets.Table)1 TableColumn (org.eclipse.swt.widgets.TableColumn)1 TableItem (org.eclipse.swt.widgets.TableItem)1 CustomerDefaultCategoryDataset (org.talend.dataprofiler.common.ui.editor.preview.CustomerDefaultCategoryDataset)1 ColumnDependencyExplorer (org.talend.dq.analysis.explore.ColumnDependencyExplorer)1 ChartDataEntity (org.talend.dq.indicators.preview.table.ChartDataEntity)1 PatternChartDataEntity (org.talend.dq.indicators.preview.table.PatternChartDataEntity)1