final CreatePolicyConfiguration configuration;
if (MCSProjectNature.getCollaborativeWorking(project)) {
configuration = new CollaborativeCreatePolicyConfiguration(
null, creationPage.isInitiallyLocked());
} else {
configuration = new GenericCreatePolicyConfiguration(null);
}
newPolicy = (IFile) accessor.createPolicy(newPolicyPath,
policyBuilder, configuration);
if (newPolicy == null) {
// the policy could not be created because it already exists,