use of teamdash.wbs.columns.ProxySizeColumn in project processdash by dtuma.
the class ProxyDataModel method buildDataColumns.
/**
* override and create only the columns we're interested in.
*/
@Override
protected void buildDataColumns(TeamMemberList teamList, TeamProcess teamProcess, WorkflowWBSModel workflows, ProxyWBSModel proxies, MilestonesWBSModel milestones, CustomColumnSpecs columns, TaskDependencySource dependencySource, String currentUser) {
addDataColumn(new WBSNodeColumn(proxies));
ProxySizeColumn size = new ProxySizeColumn(this, teamProcess);
ProxyRateColumn rate = new ProxyRateColumn(this, size);
ProxyTimeColumn time = new ProxyTimeColumn(this, size, rate);
rate.setTimeColumn(time);
addDataColumn(size);
addDataColumn(rate);
addDataColumn(time);
}
use of teamdash.wbs.columns.ProxySizeColumn in project processdash by dtuma.
the class ProxyJTable method getCellEditor.
@Override
public TableCellEditor getCellEditor(int row, int column) {
DataColumn dc = ((ProxyDataModel) getModel()).getColumn(column);
if (dc instanceof ProxySizeColumn) {
ProxySizeColumn psc = (ProxySizeColumn) dc;
TableCellEditor result = psc.getCellEditorForRow(row);
if (result != null)
return result;
}
return super.getCellEditor(row, column);
}
Aggregations