.setValue(aggregate.isEmpty() ? hours(allocationRowsHandler
.getTask().getWorkHours()) : aggregate.getTotalEffort());
}
private void allHoursInputComponentDisabilityRule() {
CalculatedValue c = allocationRowsHandler.getCalculatedValue();
boolean disabled = rows.isEmpty()
|| (CalculatedValue.NUMBER_OF_HOURS == c)
|| (c == CalculatedValue.RESOURCES_PER_DAY && !recommendedAllocation)
|| isAnyManual() || isTaskUpdatedFromTimesheets();
this.effortInput.setDisabled(disabled);