/**
*/
public class DefaultPolicyBuilderManagerFactory extends PolicyBuilderManagerFactory {
public PolicyBuilderManager createPolicyBuilderManager(IProject project) {
EclipsePolicyBuilderManager manager =
(EclipsePolicyBuilderManager) ClassVersionProperties.
getInstance("PolicyBuilderManager.class",
new Class[] { IProject.class }, new Object[] {project});
if (manager.requiresUnderlyingPolicyBuilderManager()) {
manager.setUnderlyingPolicyBuilderManager(
new EclipsePolicyBuilderManagerImpl(project));
}
return manager;
}