Package com.projectlibre.core.pm.exchange.converters.mpx

Examples of com.projectlibre.core.pm.exchange.converters.mpx.MpxDependencyConverter


      task.addAssignment(assignment);
    }
  }
 
  protected void importDependencies(Project project) {
    MpxDependencyConverter converter=new MpxDependencyConverter();
    for (net.sf.mpxj.Task mpxTask : mpxProjectFile.getAllTasks()){
//      if (mpxTask.getNull() || mpxTask.getID()==null)
//        continue;
      if (mpxTask==mpxRootTask)
        continue;
      List<Relation> mpxRelations=mpxTask.getPredecessors();
      if (mpxRelations==null) continue;
      for (Relation mpxRelation : mpxRelations){
        Dependency dependency=new Dependency();
        converter.from(mpxRelation, dependency, state);
        project.addDependency(dependency);
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.projectlibre.core.pm.exchange.converters.mpx.MpxDependencyConverter

Copyright © 2018 www.massapicom. 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.