return newProjectDir(f, Configuration.DEFAULT_DOMAIN_FILE, FileFilters
.getApplicationFilter());
}
else if (p instanceof DataMapProject) {
// configure for DataMap project
ProjectFile projFileWrapper = p.projectFileForObject(p);
return newProjectDir(f, projFileWrapper.getLocation(), FileFilters
.getDataMapFilter());
}
else {
String message = (p == null)
? "Null project."