*/
private void processRelationships(MPXFile mpx) {
TaskManager tm = m_project.getTaskManager();
Iterator taskIter = mpx.getAllTasks().iterator();
Task task;
RelationList rels;
Iterator relIter;
Relation rel;
GanttTask gTask1;
int gTaskNumber1;
GanttTask gTask2;
int gTaskNumber2;
TaskDependency gTaskDependency;
int gConstraintType;
while (taskIter.hasNext() == true) {
task = (Task) taskIter.next();
gTaskNumber1 = mapTaskNumber(task.getID());
if (gTaskNumber1 == -1) {
continue;
}
rels = (RelationList)task.getPredecessors();
if (rels != null) {
relIter = rels.iterator();
while (relIter.hasNext() == true) {
rel = (Relation) relIter.next();
gTaskNumber2 = mapTaskNumber(new Integer(rel