Search in sources :

Example 6 with TableContentModel

use of org.knime.core.node.tableview.TableContentModel in project knime-core by knime.

the class RankCorrelationComputeNodeView method modelChanged.

/**
 * {@inheritDoc}
 */
@Override
protected void modelChanged() {
    DataTable table = getNodeModel().getCorrelationTable();
    TableContentModel cntModel = m_tableView.getContentModel();
    cntModel.setDataTable(table);
    changeRenderer(m_currentRendererID);
    // must not call this on cntView as that would not affect the
    // row header column
    m_tableView.setRowHeight(16);
}
Also used : DataTable(org.knime.core.data.DataTable) TableContentModel(org.knime.core.node.tableview.TableContentModel)

Aggregations

TableContentModel (org.knime.core.node.tableview.TableContentModel)6 DataTable (org.knime.core.data.DataTable)4 ContainerTable (org.knime.core.data.container.ContainerTable)2 TableContentView (org.knime.core.node.tableview.TableContentView)1