getString(GanttRelationType.START_START.getI18nKey() + ".short")); relationTypeChoiceRenderer.addValue(GanttRelationType.START_FINISH, getString(GanttRelationType.START_FINISH.getI18nKey() + ".short")); relationTypeChoiceRenderer.addValue(GanttRelationType.FINISH_START, getString(GanttRelationType.FINISH_START.getI18nKey() + ".short")); relationTypeChoiceRenderer .addValue(GanttRelationType.FINISH_FINISH, getString(GanttRelationType.FINISH_FINISH.getI18nKey() + ".short")); final DropDownChoice<GanttRelationType> relationTypeChoice = new DropDownChoice<GanttRelationType>("relationType", new PropertyModel<GanttRelationType>(ganttObject, "relationType"), relationTypeChoiceRenderer.getValues(), final GanttRelationType relationType = task != null ? task.getGanttRelationType() : null; new RejectSaveLinksFragment("rejectSaveRelationType", item, relationTypeChoice, task, relationType != null ? getString(relationType.getI18nKey()) : "")
} else if (type.isIn(GanttRelationType.START_START, GanttRelationType.FINISH_FINISH)) { final double x; if (type == GanttRelationType.START_START) {
final LabelValueChoiceRenderer<GanttRelationType> relationTypeChoiceRenderer = new LabelValueChoiceRenderer<GanttRelationType>( fs, GanttRelationType.values()); final DropDownChoice<GanttRelationType> relationTypeChoice = new DropDownChoice<GanttRelationType>( fs.getDropDownChoiceId(),
if ((predecessor == null || (node.getRelationType() != null && node.getRelationType().isIn(GanttRelationType.FINISH_FINISH, GanttRelationType.START_FINISH) == true)) && node.getChildren() != null) {
diagram.appendChild(SVGHelper.createPath(doc, SVGColor.NONE, 1, SVGColor.BLACK, SVGHelper.drawHorizontalConnectionLine(type, depX1, depY1, depX2, depY2, style.getArrowMinXDist() + dist))); if (type.isIn(GanttRelationType.FINISH_START, GanttRelationType.START_START) == true) { diagram.appendChild(SVGHelper.createPath(doc, SVGColor.BLACK, 1, SVGColor.BLACK, SVGHelper.drawArrow(ArrowDirection.RIGHT, depX2 - dist, depY2, style.getArrowSize())));
if ((predecessor == null || (node.getRelationType() == null || node.getRelationType().isIn(GanttRelationType.FINISH_FINISH, GanttRelationType.START_FINISH) == false)) && node.getChildren() != null