private GanttTask createTestChart()
{
// final GanttObjectImpl root = createGanttObject(null, "--", "rootNode", "0");
final GanttTaskImpl phase1 = createGanttObject(null, "P1", "Phase 1", "5");
final GanttTaskImpl task1 = createGanttObject(phase1, "001", "Task 1", "10");
final DayHolder day = new DayHolder();
day.setDate(2010, Calendar.JUNE, 1);
task1.setStartDate(day.getDate());
createGanttObject(phase1, "002", "Task 2 (finish-start)", "10", task1, GanttRelationType.FINISH_START, 10);
final GanttTaskImpl task3 = createGanttObject(phase1, "003", "Task 3 (finish-start II)", "5", task1, null, 0);
createGanttObject(phase1, "004", "Task 4 (finish-start, depth = 2)", "5", task3, null, -3);
final GanttTaskImpl task5 = createGanttObject(phase1, "005", "Task 5", "5");
day.add(Calendar.MONTH, 1);
task5.setStartDate(day.getDate());
createGanttObject(phase1, "006", "Task 6 (finish-finish)", "3", task5, GanttRelationType.FINISH_FINISH, 0);
createGanttObject(phase1, "007", "Task 7 (finish_finish)", "3", task5, GanttRelationType.FINISH_FINISH, -8);
final GanttTaskImpl task8 = createGanttObject(phase1, "008", "Task 8 (finish_finish)", "3", task5, GanttRelationType.FINISH_FINISH, 3);
createGanttObject(phase1, "009", "Task 9 (start-start)", "3", task8, GanttRelationType.START_START, 0);
createGanttObject(phase1, "010", "Task 10 (start-start)", "3", task8, GanttRelationType.START_START, 5);
createGanttObject(phase1, "011", "Task 11 (start-start)", "3", task8, GanttRelationType.START_START, -5);
final GanttTaskImpl task12 = createGanttObject(phase1, "012", "Task 12", "5");
day.add(Calendar.WEEK_OF_YEAR, 3);
task12.setStartDate(day.getDate());
createGanttObject(phase1, "013", "Task 13 (start-finish)", "3", task12, GanttRelationType.START_FINISH, -5);
createGanttObject(phase1, "014", "Task 14 (start-finish)", "3", task12, GanttRelationType.START_FINISH, 5);
createGanttObject(phase1, "015", "Task 15 (start-finish)", "3", task12, GanttRelationType.START_FINISH, 0);
final GanttTaskImpl task16 = createGanttObject(phase1, "016", "Task 16", "6");
day.add(Calendar.WEEK_OF_YEAR, 1);
task16.setStartDate(day.getDate());
return phase1;
}