Package org.eclipse.cdt.core.browser
Class TypeSearchScope
- java.lang.Object
-
- org.eclipse.cdt.core.browser.TypeSearchScope
-
- All Implemented Interfaces:
ITypeSearchScope
public class TypeSearchScope extends Object implements ITypeSearchScope
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description TypeSearchScope()
TypeSearchScope(boolean workspaceScope)
TypeSearchScope(ITypeSearchScope scope)
TypeSearchScope(ICProject project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ITypeSearchScope scope)
void
add(ICElement elem)
void
add(ICProject project)
void
add(IWorkingCopy workingCopy)
void
add(org.eclipse.core.runtime.IPath path, boolean addSubfolders, ICProject enclosingProject)
void
addWorkspace()
void
clear()
Collection<org.eclipse.core.runtime.IPath>
containerSet()
boolean
encloses(String path)
boolean
encloses(ITypeSearchScope scope)
boolean
encloses(ICElement element)
boolean
encloses(ICProject project)
boolean
encloses(IWorkingCopy workingCopy)
boolean
encloses(org.eclipse.core.runtime.IPath path)
Collection<ICProject>
enclosingProjectSet()
ICProject[]
getEnclosingProjects()
boolean
isEmpty()
boolean
isPathScope()
boolean
isProjectScope()
boolean
isWorkspaceScope()
Collection<org.eclipse.core.runtime.IPath>
pathSet()
Collection<ICProject>
projectSet()
-
-
-
Constructor Detail
-
TypeSearchScope
public TypeSearchScope()
-
TypeSearchScope
public TypeSearchScope(boolean workspaceScope)
-
TypeSearchScope
public TypeSearchScope(ITypeSearchScope scope)
-
TypeSearchScope
public TypeSearchScope(ICProject project)
-
-
Method Detail
-
pathSet
public Collection<org.eclipse.core.runtime.IPath> pathSet()
- Specified by:
pathSet
in interfaceITypeSearchScope
-
containerSet
public Collection<org.eclipse.core.runtime.IPath> containerSet()
- Specified by:
containerSet
in interfaceITypeSearchScope
-
projectSet
public Collection<ICProject> projectSet()
- Specified by:
projectSet
in interfaceITypeSearchScope
-
enclosingProjectSet
public Collection<ICProject> enclosingProjectSet()
- Specified by:
enclosingProjectSet
in interfaceITypeSearchScope
-
encloses
public boolean encloses(ITypeSearchScope scope)
- Specified by:
encloses
in interfaceITypeSearchScope
-
encloses
public boolean encloses(ICProject project)
- Specified by:
encloses
in interfaceITypeSearchScope
-
encloses
public boolean encloses(org.eclipse.core.runtime.IPath path)
- Specified by:
encloses
in interfaceITypeSearchScope
-
encloses
public boolean encloses(String path)
- Specified by:
encloses
in interfaceITypeSearchScope
-
encloses
public boolean encloses(ICElement element)
- Specified by:
encloses
in interfaceITypeSearchScope
-
encloses
public boolean encloses(IWorkingCopy workingCopy)
- Specified by:
encloses
in interfaceITypeSearchScope
-
getEnclosingProjects
public ICProject[] getEnclosingProjects()
- Specified by:
getEnclosingProjects
in interfaceITypeSearchScope
-
isPathScope
public boolean isPathScope()
- Specified by:
isPathScope
in interfaceITypeSearchScope
-
isProjectScope
public boolean isProjectScope()
- Specified by:
isProjectScope
in interfaceITypeSearchScope
-
isWorkspaceScope
public boolean isWorkspaceScope()
- Specified by:
isWorkspaceScope
in interfaceITypeSearchScope
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceITypeSearchScope
-
add
public void add(IWorkingCopy workingCopy)
- Specified by:
add
in interfaceITypeSearchScope
-
add
public void add(org.eclipse.core.runtime.IPath path, boolean addSubfolders, ICProject enclosingProject)
- Specified by:
add
in interfaceITypeSearchScope
-
add
public void add(ICProject project)
- Specified by:
add
in interfaceITypeSearchScope
-
addWorkspace
public void addWorkspace()
- Specified by:
addWorkspace
in interfaceITypeSearchScope
-
add
public void add(ICElement elem)
- Specified by:
add
in interfaceITypeSearchScope
-
add
public void add(ITypeSearchScope scope)
- Specified by:
add
in interfaceITypeSearchScope
-
clear
public void clear()
- Specified by:
clear
in interfaceITypeSearchScope
-
-