}
for (int i = 0; i < statusBars.length; i++)
statusBars[i].nextStep();
}
// Orga Units
OrganizationUnitType iOrganizationUnitType;
ResourceClassModel orgunitModelTemp;
for (Iterator<ResourceClassModel> iter = petrinetModel.getOrganizationUnits().iterator(); iter.hasNext();)
{
orgunitModelTemp = (ResourceClassModel) iter.next();
iOrganizationUnitType = iNetResources.addNewOrganizationUnit();
iOrganizationUnitType.setName(orgunitModelTemp.getName());
if(orgunitModelTemp.getSuperModels()!=null){
for (Iterator<ResourceClassModel> i = orgunitModelTemp.getSuperModels();i.hasNext();)
{
ResourceClassModel superMe = i.next();
SuperModelType newSuper= iOrganizationUnitType.addNewSuperModel();
newSuper.setName(superMe.getName());
}
}
for (int i = 0; i < statusBars.length; i++)
statusBars[i].nextStep();