private void processResources(MPXFile mpx) {
HumanResourceManager hrm = (HumanResourceManager) m_project
.getHumanResourceManager();
LinkedList resources = mpx.getAllResources();
Iterator iter = resources.iterator();
Resource resource;
HumanResource people;
while (iter.hasNext() == true) {
resource = (Resource) iter.next();
if (resource.getName() != null) {
people = hrm.newHumanResource();
people.setName(resource.getName());
people.setMail(resource.getEmailAddress());
hrm.add(people);
m_resourceMap
.put(resource.getID(), new Integer(people.getId()));
}
}
}