ItEr27S06CUAsignacionGrupoRecursosAPlanificacionItEr26S07: Removing field typeName
This commit is contained in:
parent
3ccc980a91
commit
80252d08ce
2 changed files with 0 additions and 15 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue