if (parentDir != null)
{
for (ExportedInstance<ProjectAssociationProvider> providerInstance : registry
.getExportedInstances(ProjectAssociationProvider.class))
{
ProjectAssociationProvider provider = providerInstance.get();
if (provider.canAssociate(result, parentDir))
{
provider.associate(result, parentDir);
}
}
}
fireProjectCreated(result);
}