final IDTViewHandler viewHandler = DTAppManagerUtil.getViewHandler(file
.getProject());
// only validate files that our designtime supports
if (viewHandler == null || !viewHandler.supportsViewDefinition(file))
{
return null;
}
return new JSFValidationContext(isIncremental, prefs, viewHandler,