use of com.biglybt.ui.common.table.impl.TableColumnImpl in project BiglyBT by BiglySoftware.
the class TableManagerImpl method addColumn.
@Override
public void addColumn(final TableColumn tableColumn) {
if (!(tableColumn instanceof TableColumnImpl))
throw (new UIRuntimeException("TableManager.addColumn(..) can only add columns created by createColumn(..)"));
TableColumnManager.getInstance().addColumns(new TableColumnCore[] { (TableColumnCore) tableColumn });
TableStructureEventDispatcher tsed = TableStructureEventDispatcher.getInstance(tableColumn.getTableID());
tsed.tableStructureChanged(true, tableColumn.getForDataSourceType());
}
Aggregations