use of teamdash.wbs.columns.NullDataColumn in project processdash by dtuma.
the class DataTableModel method removeDataColumn.
/** Remove a single data column from the data model */
public void removeDataColumn(DataColumn column) {
int pos = findIndexOfColumn(column);
if (pos == -1)
return;
if (column instanceof IndexAwareDataColumn)
((IndexAwareDataColumn) column).setColumnIndex(-1);
columns.set(pos, new NullDataColumn());
labelSources.remove(pos);
attrSources.remove(pos);
// if the dependencies are already computed, update them.
if (dependencies != null)
initializeColumnDependencies();
}
Aggregations