private void processRemarks ( GanttDesignerRemark remark ) { for ( GanttDesignerRemark . Task remarkTask : remark . getTask ( ) ) { Integer id = remarkTask . getRow ( ) ; Task task = m_projectFile . getTaskByID ( id ) ; String notes = task . getNotes ( ) ; if ( notes . isEmpty ( ) ) { notes = remarkTask . getContent ( ) ; } else { notes = notes + ' ' + remarkTask . getContent ( ) ; } task . setNotes ( notes ) ; } }
Read an individual remark type from a Gantt Designer file .