@Override public boolean visit(IResourceProxy proxy, IProgressMonitor monitor) throws CoreException { if (proxy.getType() == IResource.FILE) { if (DartCore.isHTMLLikeFileName(proxy.getName())) { processHtml((IFile) proxy.requestResource()); } } return true; }
@Override public boolean visit(IResourceDelta delta, IProgressMonitor monitor) throws CoreException { if (delta.getKind() == IResourceDelta.CHANGED) { IResource resource = delta.getResource(); if (resource.getType() == IResource.FILE) { if (DartCore.isHTMLLikeFileName(resource.getName())) { processHtml((IFile) resource); } } } return true; }