Package org.projectforge.gantt

Examples of org.projectforge.gantt.GanttTaskImpl.addChild()


              final GanttTask parent = root.findParent(clipboard.getId());
              final TaskDO task = taskDao.getTaskTree().getTaskById((Integer) clipboard.getId());
              parent.removeChild(clipboard);
              if (clipboard == ganttObject) {
                // Move to top level:
                root.addChild(ganttObject);
                final TaskDO rootTask = form.getData().getTask();
                if (rootTask != null && task != null) {
                  task.setParentTask(rootTask);
                  taskDao.update(task);
                }
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.