public boolean visit(IResourceProxy proxy) throws CoreException { if(proxy.getName().endsWith(WSIL_FILE_EXT)) { IResource file = proxy.requestResource(); IVirtualResource[] vResources = ComponentCore.createResources(file); if (vResources.length > 0 && !result.contains(file)) result.add(file); } return true; }
/** * @see org.eclipse.core.resources.IResourceProxyVisitor#visit(org.eclipse.core.resources.IResourceProxy) */ @Override public boolean visit(IResourceProxy proxy) { if (proxy.getType() == IResource.FILE) { if (ICoreConstants.TARGET_FILE_EXTENSION.equalsIgnoreCase(new Path(proxy.getName()).getFileExtension())) { fList.add(proxy.requestResource()); } return false; } return true; } }
@Override public boolean contains(IResourceProxy proxy) { if (!fVisitDerived && proxy.isDerived()) { return false; // all resources in a derived folder are considered to be derived, see bug 103576 } if (proxy.getType() == IResource.FILE) { return matchesFileName(proxy.getName()); } return true; }
@Override public boolean contains(IResourceProxy proxy) { if (!fVisitDerived && proxy.isDerived()) { return false; // all resources in a derived folder are considered to be derived, see bug 103576 } if (proxy.getType() == IResource.FILE) { return matchesFileName(proxy.getName()); } return true; }
public boolean contains(IResourceProxy proxy) { if (!fVisitDerived && proxy.isDerived()) { return false; // all resources in a derived folder are considered to be derived, see bug // 103576 } if (proxy.getType() == IResource.FILE) { return matchesFileName(proxy.getName()); } return true; }
public boolean contains(IResourceProxy proxy) { if (!fVisitDerived && proxy.isDerived()) { return false; // all resources in a derived folder are considered to be derived, see bug 103576 } if (proxy.getType() == IResource.FILE) { return matchesFileName(proxy.getName()); } return true; }
public boolean contains(IResourceProxy proxy) { if (!fVisitDerived && proxy.isDerived()) { return false; // all resources in a derived folder are considered to be derived, see bug 103576 } if (proxy.getType() == IResource.FILE) { return matchesFileName(proxy.getName()); } return true; }
@Override public boolean contains(IResourceProxy proxy) { if (!fVisitDerived && proxy.isDerived()) { return false; // all resources in a derived folder are considered to be derived, see bug 103576 } if (proxy.getType() == IResource.FILE) { return matchesFileName(proxy.getName()); } return true; }
@Override public boolean visit(IResourceProxy proxy) /* throws CoreException */{ if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(proxy.getName())) indexManager.addSource((IFile) proxy.requestResource(), container, parser); return false; } return true; } },
public boolean visit(IResourceProxy proxy) /* throws CoreException */{ if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(proxy.getName())) indexManager.addSource((IFile) proxy.requestResource(), container, parser); return false; } return true; } },
public boolean visit(IResourceProxy proxy) /* throws CoreException */{ if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(proxy.getName())) indexManager.addSource((IFile) proxy.requestResource(), container, parser); return false; } return true; } },
public boolean visit(IResourceProxy proxy) /* throws CoreException */{ if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(proxy.getName())) indexManager.addSource((IFile) proxy.requestResource(), container, parser); return false; } return true; } },
public boolean visit(IResourceProxy proxy) /* throws CoreException */{ if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(proxy.getName())) indexManager.addSource((IFile) proxy.requestResource(), container, parser); return false; } return true; } },
public boolean visit(IResourceProxy proxy) /* throws CoreException */{ if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(proxy.getName())) indexManager.addSource((IFile) proxy.requestResource(), container, parser); return false; } return true; } },
public boolean visit(IResourceProxy proxy) { if (IndexBinaryFolder.this.isCancelled) return false; if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(proxy.getName())) { IFile file = (IFile) proxy.requestResource(); String containerRelativePath = Util.relativePath(file.getFullPath(), IndexBinaryFolder.this.containerPath.segmentCount()); indexedFileNames.put(containerRelativePath, file); } return false; } return true; } }, IResource.NONE);
public boolean visit(IResourceProxy proxy) { if (IndexBinaryFolder.this.isCancelled) return false; if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(proxy.getName())) { IFile file = (IFile) proxy.requestResource(); String containerRelativePath = Util.relativePath(file.getFullPath(), IndexBinaryFolder.this.containerPath.segmentCount()); indexedFileNames.put(containerRelativePath, file); } return false; } return true; } }, IResource.NONE);
public boolean visit(IResourceProxy proxy) { if (IndexBinaryFolder.this.isCancelled) return false; if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(proxy.getName())) { IFile file = (IFile) proxy.requestResource(); String containerRelativePath = Util.relativePath(file.getFullPath(), IndexBinaryFolder.this.containerPath.segmentCount()); indexedFileNames.put(containerRelativePath, file); } return false; } return true; } }, IResource.NONE);
public boolean visit(IResourceProxy proxy) { if (IndexBinaryFolder.this.isCancelled) return false; if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(proxy.getName())) { IFile file = (IFile) proxy.requestResource(); String containerRelativePath = Util.relativePath(file.getFullPath(), IndexBinaryFolder.this.containerPath.segmentCount()); indexedFileNames.put(containerRelativePath, file); } return false; } return true; } }, IResource.NONE);
@Override public boolean visit(IResourceProxy proxy) { if (IndexBinaryFolder.this.isCancelled) return false; if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(proxy.getName())) { IFile file = (IFile) proxy.requestResource(); String containerRelativePath = Util.relativePath(file.getFullPath(), IndexBinaryFolder.this.containerPath.segmentCount()); indexedFileNames.put(containerRelativePath, file); } return false; } return true; } }, IResource.NONE);
public boolean visit(IResourceProxy proxy) { if (IndexBinaryFolder.this.isCancelled) return false; if (proxy.getType() == IResource.FILE) { if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(proxy.getName())) { IFile file = (IFile) proxy.requestResource(); String containerRelativePath = Util.relativePath(file.getFullPath(), IndexBinaryFolder.this.containerPath.segmentCount()); indexedFileNames.put(containerRelativePath, file); } return false; } return true; } }, IResource.NONE);