本文整理汇总了Java中org.eclipse.core.resources.FileInfoMatcherDescription类的典型用法代码示例。如果您正苦于以下问题:Java FileInfoMatcherDescription类的具体用法?Java FileInfoMatcherDescription怎么用?Java FileInfoMatcherDescription使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FileInfoMatcherDescription类属于org.eclipse.core.resources包,在下文中一共展示了FileInfoMatcherDescription类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: wrap
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
/**
* @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();
}
};
}
开发者ID:eclipse,项目名称:che,代码行数:25,代码来源:UIResourceFilterDescription.java
示例2: createFilter
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
@Override
public IResourceFilterDescription createFilter(int type,
FileInfoMatcherDescription matcherDescription, int updateFlags,
IProgressMonitor monitor) throws CoreException {
// not required
return null;
}
开发者ID:1Tristan,项目名称:VariantSync,代码行数:8,代码来源:ProjectRoot.java
示例3: createFilter
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
@Override
public IResourceFilterDescription createFilter(
int type,
FileInfoMatcherDescription matcherDescription,
int updateFlags,
IProgressMonitor monitor)
throws CoreException {
throw new UnsupportedOperationException();
}
开发者ID:eclipse,项目名称:che,代码行数:10,代码来源:Container.java
示例4: addFileFilter
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
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);
}
开发者ID:de-jcup,项目名称:egradle,代码行数:6,代码来源:EclipseResourceHelper.java
示例5: getFileInfoMatcherDescription
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
/** @return the description */
public abstract FileInfoMatcherDescription getFileInfoMatcherDescription();
开发者ID:eclipse,项目名称:che,代码行数:3,代码来源:UIResourceFilterDescription.java
示例6: createNestedProjectFilter
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
private void createNestedProjectFilter() throws CoreException {
IProject project = projectHelper.getProject();
FileInfoMatcherDescription matcherDescription = new FileInfoMatcherDescription( ID, null );
project.createFilter( FILTER_TYPE, matcherDescription, NONE, new NullProgressMonitor() );
}
开发者ID:rherrmann,项目名称:eclipse-extras,代码行数:6,代码来源:NestedProjectFilterIntegrationPDETest.java
示例7: createFilter
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
/**
* {@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);
}
开发者ID:sealuzh,项目名称:PerformanceHat,代码行数:8,代码来源:AbstractProjectDecorator.java
示例8: createFilter
import org.eclipse.core.resources.FileInfoMatcherDescription; //导入依赖的package包/类
@Override
public IResourceFilterDescription createFilter(int type, FileInfoMatcherDescription matcherDescription,
int updateFlags, IProgressMonitor monitor) throws CoreException {
throw new RuntimeException("Not implemented");
}
开发者ID:fabioz,项目名称:Pydev,代码行数:6,代码来源:AbstractIContainerStub.java
注:本文中的org.eclipse.core.resources.FileInfoMatcherDescription类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论