//verticalLayout
iNetToolSpec.setVerticalLayout(editor.isRotateSelected());
// resources
ResourcesType iNetResources = iNetToolSpec.addNewResources();
// Rescources
ResourceType iResourceType;
ResourceModel rModelTemp;
for (Iterator<ResourceModel> iter = petrinetModel.getResources().iterator(); iter.hasNext();)
{
rModelTemp = (ResourceModel) iter.next();
iResourceType = iNetResources.addNewResource();
iResourceType.setName(rModelTemp.getName());
for (int i = 0; i < statusBars.length; i++)
statusBars[i].nextStep();
}
// Roles