Hundreds of new jobs are set to be created through the reopening of a garment factory in Slovenia.