ItEr37S06ValidacionEProbasFuncionaisItEr36S07: Renaming method so it's consistent with the name of the input

This commit is contained in:
Óscar González Fernández 2009-12-06 19:19:28 +01:00
parent 94a7854768
commit 89b4f0936b

View file

@ -165,7 +165,7 @@ class FormBinder {
this.allHoursInput = assignedHoursComponent;
this.allHoursInput.setConstraint(new SimpleConstraint(
SimpleConstraint.NO_EMPTY | SimpleConstraint.NO_NEGATIVE));
assignedHoursComponentDisabilityRule();
allHoursInputComponentDisabilityRule();
loadValueForAssignedHoursComponent();
onChangeEnableApply(assignedHoursComponent);
}
@ -176,7 +176,7 @@ class FormBinder {
.getTask().getWorkHours() : aggregate.getTotalHours());
}
private void assignedHoursComponentDisabilityRule() {
private void allHoursInputComponentDisabilityRule() {
CalculatedValue c = allocationRowsHandler.getCalculatedValue();
boolean disabled = (CalculatedValue.NUMBER_OF_HOURS == c)
|| (c == CalculatedValue.RESOURCES_PER_DAY && !recommendedAllocation);
@ -200,7 +200,7 @@ class FormBinder {
}
private void applyDisabledRules() {
assignedHoursComponentDisabilityRule();
allHoursInputComponentDisabilityRule();
endDateDisabilityRule();
allResourcesPerDayVisibilityRule();
applyDisabledRulesOnRows();