use of teamdash.wbs.columns.TeamTimeColumn in project processdash by dtuma.
the class RelaunchWorker method adjustInProgressItems.
/**
* Find leaf tasks that are in progress, and reduce the planned time based
* on the amount of actual time that has been spent so far.
*/
private void adjustInProgressItems() {
int col = dataModel.findColumn(TeamTimeColumn.COLUMN_ID);
TeamTimeColumn teamTimeCol = (TeamTimeColumn) dataModel.getColumn(col);
teamTimeCol.replanInProgressTime();
}
use of teamdash.wbs.columns.TeamTimeColumn in project processdash by dtuma.
the class DataTableModel method buildDataColumns.
/** Create a set of data columns for this data model. */
protected void buildDataColumns(TeamMemberList teamList, TeamProcess teamProcess, WorkflowWBSModel workflows, ProxyWBSModel proxies, MilestonesWBSModel milestones, CustomColumnSpecs projectColumns, TaskDependencySource dependencySource, String currentUser) {
addDataColumn(new WBSNodeColumn(wbsModel));
SizeTypeColumn.createSizeColumns(this, teamProcess);
addDataColumn(new PhaseColumn(this, teamProcess, workflows));
memberColumnManager = new TeamMemberColumnManager(this, workflows, teamList);
addDataColumn(new TaskSizeColumn(this, teamProcess));
addDataColumn(new TaskSizeUnitsColumn(this, teamProcess));
addDataColumn(new TeamTimeColumn(this));
addDataColumn(new TeamActualTimeColumn(this, teamList));
addDataColumn(new TaskLabelColumn(this));
addDataColumn(new MilestoneColumn(this, milestones));
addDataColumn(new ProxyEstTypeColumn(this, proxies));
addDataColumn(new ProxyEstBucketColumn(this, proxies, teamProcess));
addDataColumn(new TaskDependencyColumn(this, dependencySource, teamProcess.getIconMap()));
addDataColumn(new NotesColumn(currentUser));
addDataColumn(new ErrorNotesColumn(currentUser));
addDataColumn(new PlanTimeWatcher(this));
customColumnManager = new CustomColumnManager(this, projectColumns, teamProcess.getProcessID());
}
use of teamdash.wbs.columns.TeamTimeColumn in project processdash by dtuma.
the class WBSJTable method getAutoZeroUserString.
private String getAutoZeroUserString(WBSNode node) {
if (dataModel == null)
return null;
int pos = dataModel.findColumn(TeamTimeColumn.COLUMN_ID);
if (pos == -1)
return null;
TeamTimeColumn ttc = (TeamTimeColumn) dataModel.getColumn(pos);
return ttc.getAutoZeroUserString(node);
}
Aggregations