/**
* Each resource line has the same role than its allocated
* task, so that link with the resource allocation screen
*/
LoadTimeLine timeLine = new LoadTimeLine(buildTimeLine(
criterions, task, criterion, "global-generic",
resourceAllocations, role),
buildTimeLinesForEachResource(criterion,
genericAllocations, role));
if (!timeLine.isEmpty()) {
secondLevel.add(timeLine);
}
}
}
return secondLevel;