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

项目: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);
}
项目:che    文件:UIResourceFilterDescription.java   
/** @return the description */
public abstract FileInfoMatcherDescription getFileInfoMatcherDescription();
项目:eclipse-extras    文件:NestedProjectFilterIntegrationPDETest.java   
private void createNestedProjectFilter() throws CoreException {
  IProject project = projectHelper.getProject();
  FileInfoMatcherDescription matcherDescription = new FileInfoMatcherDescription( ID, null );
  project.createFilter( FILTER_TYPE, matcherDescription, NONE, new NullProgressMonitor() );
}
项目: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);
}
项目:Pydev    文件:AbstractIContainerStub.java   
@Override
public IResourceFilterDescription createFilter(int type, FileInfoMatcherDescription matcherDescription,
        int updateFlags, IProgressMonitor monitor) throws CoreException {
    throw new RuntimeException("Not implemented");
}