Examples of LoadTimeLine


Examples of org.zkoss.ganttz.data.resourceload.LoadTimeLine

                if (byOrder.get(order) == null) {
                    // no allocations found for order
                    continue;
                }
                TimeLineRole<BaseEntity> role = getCurrentTimeLineRole(order);
                result.add(new LoadTimeLine(buildTimeLine(criterion,
                        order.getName(), "global-generic", byOrder.get(order),
                        role), buildTimeLinesForOrder(order, criterion,
                        byOrder.get(order))));
            }
            return result;
View Full Code Here

Examples of org.zkoss.ganttz.data.resourceload.LoadTimeLine

        LoadTimeLine buildTimeLine(Criterion criterion, String name,
                String type, List<ResourceAllocation<?>> allocations,
                TimeLineRole<BaseEntity> role) {
            List<GenericResourceAllocation> generics = onlyGeneric(allocations);
            return new LoadTimeLine(name, createPeriods(criterion, generics),
                    type, role);
        }
View Full Code Here

Examples of org.zkoss.ganttz.data.resourceload.LoadTimeLine

                    /**
                     * 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;
View Full Code Here

Examples of org.zkoss.ganttz.data.resourceload.LoadTimeLine

                Resource resource = entry.getKey();
                List<ResourceAllocation<?>> resourceAllocations = entry
                        .getValue();
                String descriptionTimeLine = resource.getShortDescription();

                LoadTimeLine timeLine = buildTimeLine(resource,
                        descriptionTimeLine, resourceAllocations, "generic",
                        role);
                if (!timeLine.isEmpty()) {
                    secondLevel.add(timeLine);
                }

            }
            return secondLevel;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.