@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; }
@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; }
@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; }
@Override public boolean visit(IResourceProxy proxy) throws CoreException { if (proxy.getType() == IResource.FILE && (proxy.getName().endsWith("yaml") || proxy.getName().endsWith("yml"))) { if (!proxy.isDerived()) { IFile file = (IFile) proxy.requestResource(); if (!file.equals(currentFile)) { String currFileType = file.getContentDescription().getContentType().getId(); if (fileContentType == null || fileContentType.equals(currFileType)) { files.add(file); } } } } else if (proxy.getType() == IResource.FOLDER && (proxy.isDerived() || proxy.getName().equalsIgnoreCase("gentargets"))) { return false; } return true; }
container.accept(proxy -> { if (!getShowDerived() && proxy.isDerived()) { return false;