ItEr27S06CUAsignacionGrupoRecursosAPlanificacionItEr26S07: Renaming ResourceAllocationFormBinder to FormBinder and making it package private
This commit is contained in:
parent
e6b0b32e87
commit
be896fb9dd
3 changed files with 6 additions and 6 deletions
|
|
@ -4,14 +4,14 @@ import org.navalplanner.business.planner.entities.AggregateOfResourceAllocations
|
|||
import org.navalplanner.business.planner.entities.CalculatedValue;
|
||||
import org.zkoss.zul.Intbox;
|
||||
|
||||
public class ResourceAllocationFormBinder {
|
||||
class FormBinder {
|
||||
|
||||
private Intbox assignedHoursComponent;
|
||||
|
||||
private final ResourceAllocationsBeingEdited resourceAllocationsBeingEdited;
|
||||
private AggregateOfResourceAllocations aggregate;
|
||||
|
||||
public ResourceAllocationFormBinder(
|
||||
public FormBinder(
|
||||
ResourceAllocationsBeingEdited resourceAllocationsBeingEdited) {
|
||||
this.resourceAllocationsBeingEdited = resourceAllocationsBeingEdited;
|
||||
this.aggregate = this.resourceAllocationsBeingEdited
|
||||
|
|
@ -66,7 +66,7 @@ public class ResourceAllocationController extends GenericForwardComposer {
|
|||
|
||||
private Window window;
|
||||
|
||||
private ResourceAllocationFormBinder formBinder;
|
||||
private FormBinder formBinder;
|
||||
|
||||
private ResourceAllocationsBeingEdited allocationsBeingEdited;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public class ResourceAllocationsBeingEdited {
|
|||
|
||||
private final boolean modifyTask;
|
||||
|
||||
private ResourceAllocationFormBinder formBinder = null;
|
||||
private FormBinder formBinder = null;
|
||||
|
||||
private CalculatedValue calculatedValue;
|
||||
|
||||
|
|
@ -157,11 +157,11 @@ public class ResourceAllocationsBeingEdited {
|
|||
resourceDAO, true);
|
||||
}
|
||||
|
||||
public ResourceAllocationFormBinder createFormBinder() {
|
||||
public FormBinder createFormBinder() {
|
||||
if (formBinder != null)
|
||||
throw new IllegalStateException(
|
||||
"there is already a binder associated with this object");
|
||||
formBinder = new ResourceAllocationFormBinder(this);
|
||||
formBinder = new FormBinder(this);
|
||||
return formBinder;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue