ItEr27S06CUAsignacionGrupoRecursosAPlanificacionItEr26S07: Removing field typeName

This commit is contained in:
Óscar González Fernández 2009-09-21 22:08:55 +02:00
parent 3ccc980a91
commit 80252d08ce
2 changed files with 0 additions and 15 deletions

View file

@ -201,16 +201,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
.toString() : "";
}
/**
* Returns type of {@link Task} based on value of fixedDuration attribute
* @return
*/
public String getTaskType() {
Task task = resourceAllocationModel.getTask();
return (task != null && task.getFixedDuration()) ? _("Fixed duration")
: _("Variable duration");
}
public List<AllocationDTO> getResourceAllocations() {
return resourceAllocationModel.getAllocations();
}

View file

@ -83,11 +83,6 @@
<panel title="Generic resource allocation" border="normal" style="margin-bottom: 5px">
<panelchildren>
<hbox>
<label value="${i18n:_('Task type')}:"
style="font-weight:bold" />
<label value="@{allocationController.taskType}" />
</hbox>
<hbox>
<label value="${i18n:_('Criterions')}:"
style="font-weight:bold" />