|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtext.common.types.xtext.ui.IntersectingJavaSearchScope
public class IntersectingJavaSearchScope
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jdt.core.search.IJavaSearchScope |
|---|
APPLICATION_LIBRARIES, JAR_FILE_ENTRY_SEPARATOR, REFERENCED_PROJECTS, SOURCES, SYSTEM_LIBRARIES |
| Constructor Summary | |
|---|---|
IntersectingJavaSearchScope(org.eclipse.jdt.core.search.IJavaSearchScope... scopes)
|
|
| Method Summary | |
|---|---|
boolean |
encloses(org.eclipse.jdt.core.IJavaElement element)
Checks whether this scope encloses the given element. |
boolean |
encloses(java.lang.String resourcePath)
Checks whether the resource at the given path is enclosed by this scope. |
org.eclipse.core.runtime.IPath[] |
enclosingProjectsAndJars()
Returns the paths to the enclosing projects and JARs for this search scope. |
boolean |
includesBinaries()
Deprecated. |
boolean |
includesClasspaths()
Deprecated. |
void |
setIncludesBinaries(boolean includesBinaries)
Deprecated. |
void |
setIncludesClasspaths(boolean includesClasspaths)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntersectingJavaSearchScope(org.eclipse.jdt.core.search.IJavaSearchScope... scopes)
| Method Detail |
|---|
public boolean encloses(java.lang.String resourcePath)
org.eclipse.jdt.core.search.IJavaSearchScope
encloses in interface org.eclipse.jdt.core.search.IJavaSearchScoperesourcePath - if the resource is contained in
a JAR file, the path is composed of 2 paths separated
by JAR_FILE_ENTRY_SEPARATOR: the first path is the full OS path
to the JAR (if it is an external JAR), or the workspace relative IPath
to the JAR (if it is an internal JAR),
the second path is the path to the resource inside the JAR.
public boolean encloses(org.eclipse.jdt.core.IJavaElement element)
org.eclipse.jdt.core.search.IJavaSearchScope
encloses in interface org.eclipse.jdt.core.search.IJavaSearchScopeelement - the given element
true if the element is in this scopepublic org.eclipse.core.runtime.IPath[] enclosingProjectsAndJars()
org.eclipse.jdt.core.search.IJavaSearchScopeIResource.getFullPath()).
For example, /MyProject
IResource.getFullPath()).
For example, /MyProject/mylib.jar
enclosingProjectsAndJars in interface org.eclipse.jdt.core.search.IJavaSearchScope@Deprecated public boolean includesBinaries()
org.eclipse.jdt.core.search.IJavaSearchScope.class files (either
in folders or within JARs).
includesBinaries in interface org.eclipse.jdt.core.search.IJavaSearchScope.class files@Deprecated public boolean includesClasspaths()
org.eclipse.jdt.core.search.IJavaSearchScope
includesClasspaths in interface org.eclipse.jdt.core.search.IJavaSearchScope@Deprecated public void setIncludesBinaries(boolean includesBinaries)
org.eclipse.jdt.core.search.IJavaSearchScope.class files (either
in folders or within JARs).
setIncludesBinaries in interface org.eclipse.jdt.core.search.IJavaSearchScopeincludesBinaries - whether this scope contains any .class files@Deprecated public void setIncludesClasspaths(boolean includesClasspaths)
org.eclipse.jdt.core.search.IJavaSearchScope
setIncludesClasspaths in interface org.eclipse.jdt.core.search.IJavaSearchScopeincludesClasspaths - whether this scope includes classpaths
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||