final IValidationReporter reporter)
{
final ValidationPreferences prefs = new ValidationPreferences(
JSFCorePlugin.getDefault().getPreferenceStore());
prefs.load();
final DiagnosticFactory diagnosticFactory = new DiagnosticFactory();
final IDTViewHandler viewHandler = DTAppManagerUtil.getViewHandler(file
.getProject());
// only validate files that our designtime supports