Java 类org.eclipse.core.resources.IResourceFilterDescription 实例源码

项目:che    文件:UIResourceFilterDescription.java   
/**
 * @param iResourceFilterDescription
 * @return a UIResourceFilterDescription
 */
public static UIResourceFilterDescription wrap(
    final IResourceFilterDescription iResourceFilterDescription) {
  return new UIResourceFilterDescription() {
    public FileInfoMatcherDescription getFileInfoMatcherDescription() {
      return iResourceFilterDescription.getFileInfoMatcherDescription();
    }

    public IPath getPath() {
      return iResourceFilterDescription.getResource().getProjectRelativePath();
    }

    public IProject getProject() {
      return iResourceFilterDescription.getResource().getProject();
    }

    public int getType() {
      return iResourceFilterDescription.getType();
    }
  };
}
项目:VariantSync    文件:ProjectRoot.java   
@Override
public IResourceFilterDescription createFilter(int type,
        FileInfoMatcherDescription matcherDescription, int updateFlags,
        IProgressMonitor monitor) throws CoreException {
    // not required
    return null;
}
项目:che    文件:Container.java   
@Override
public IResourceFilterDescription createFilter(
    int type,
    FileInfoMatcherDescription matcherDescription,
    int updateFlags,
    IProgressMonitor monitor)
    throws CoreException {
  throw new UnsupportedOperationException();
}
项目:egradle    文件:EclipseResourceHelper.java   
public void addFileFilter(IProject newProject, String pattern, IProgressMonitor monitor) throws CoreException {
    FileInfoMatcherDescription matcherDescription = new FileInfoMatcherDescription(FILE_FILTER_ID, pattern);
    /* ignore the generated files - .project and .gitignore at navigator etc. */
    newProject.createFilter(IResourceFilterDescription.EXCLUDE_ALL | IResourceFilterDescription.FILES, matcherDescription, IResource.BACKGROUND_REFRESH, monitor);
}
项目:VariantSync    文件:ProjectRoot.java   
@Override
public IResourceFilterDescription[] getFilters() throws CoreException {
    // not required
    return new IResourceFilterDescription[] {};
}
项目:che    文件:Container.java   
@Override
public IResourceFilterDescription[] getFilters() throws CoreException {
  throw new UnsupportedOperationException();
}
项目:PerformanceHat    文件:AbstractProjectDecorator.java   
/**
 * {@inheritDoc}
 */
@Override
public IResourceFilterDescription createFilter(final int type, final FileInfoMatcherDescription matcherDescription, final int updateFlags, final IProgressMonitor monitor) throws CoreException {
  return resource().createFilter(type, matcherDescription, updateFlags, monitor);
}
项目:PerformanceHat    文件:AbstractProjectDecorator.java   
/**
 * {@inheritDoc}
 */
@Override
public IResourceFilterDescription[] getFilters() throws CoreException {
  return resource().getFilters();
}
项目:Pydev    文件:AbstractIContainerStub.java   
@Override
public IResourceFilterDescription createFilter(int type, FileInfoMatcherDescription matcherDescription,
        int updateFlags, IProgressMonitor monitor) throws CoreException {
    throw new RuntimeException("Not implemented");
}
项目:Pydev    文件:AbstractIContainerStub.java   
@Override
public IResourceFilterDescription[] getFilters() throws CoreException {
    throw new RuntimeException("Not implemented");
}