Ejemplo n.º 1
0
 @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;
 }
Ejemplo n.º 2
0
 @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;
 }