public class TypeSearchScope extends Object implements ITypeSearchScope
Constructor and Description |
---|
TypeSearchScope() |
TypeSearchScope(boolean workspaceScope) |
TypeSearchScope(ICProject project) |
TypeSearchScope(ITypeSearchScope scope) |
Modifier and Type | Method and Description |
---|---|
void |
add(ICElement elem) |
void |
add(ICProject project) |
void |
add(org.eclipse.core.runtime.IPath path,
boolean addSubfolders,
ICProject enclosingProject) |
void |
add(ITypeSearchScope scope) |
void |
add(IWorkingCopy workingCopy) |
void |
addWorkspace() |
void |
clear() |
Collection<org.eclipse.core.runtime.IPath> |
containerSet() |
boolean |
encloses(ICElement element) |
boolean |
encloses(ICProject project) |
boolean |
encloses(org.eclipse.core.runtime.IPath path) |
boolean |
encloses(ITypeSearchScope scope) |
boolean |
encloses(IWorkingCopy workingCopy) |
boolean |
encloses(String path) |
Collection<ICProject> |
enclosingProjectSet() |
ICProject[] |
getEnclosingProjects() |
boolean |
isEmpty() |
boolean |
isPathScope() |
boolean |
isProjectScope() |
boolean |
isWorkspaceScope() |
Collection<org.eclipse.core.runtime.IPath> |
pathSet() |
Collection<ICProject> |
projectSet() |
public TypeSearchScope()
public TypeSearchScope(boolean workspaceScope)
public TypeSearchScope(ITypeSearchScope scope)
public TypeSearchScope(ICProject project)
public Collection<org.eclipse.core.runtime.IPath> pathSet()
pathSet
in interface ITypeSearchScope
public Collection<org.eclipse.core.runtime.IPath> containerSet()
containerSet
in interface ITypeSearchScope
public Collection<ICProject> projectSet()
projectSet
in interface ITypeSearchScope
public Collection<ICProject> enclosingProjectSet()
enclosingProjectSet
in interface ITypeSearchScope
public boolean encloses(ITypeSearchScope scope)
encloses
in interface ITypeSearchScope
public boolean encloses(ICProject project)
encloses
in interface ITypeSearchScope
public boolean encloses(org.eclipse.core.runtime.IPath path)
encloses
in interface ITypeSearchScope
public boolean encloses(String path)
encloses
in interface ITypeSearchScope
public boolean encloses(ICElement element)
encloses
in interface ITypeSearchScope
public boolean encloses(IWorkingCopy workingCopy)
encloses
in interface ITypeSearchScope
public ICProject[] getEnclosingProjects()
getEnclosingProjects
in interface ITypeSearchScope
public boolean isPathScope()
isPathScope
in interface ITypeSearchScope
public boolean isProjectScope()
isProjectScope
in interface ITypeSearchScope
public boolean isWorkspaceScope()
isWorkspaceScope
in interface ITypeSearchScope
public boolean isEmpty()
isEmpty
in interface ITypeSearchScope
public void add(IWorkingCopy workingCopy)
add
in interface ITypeSearchScope
public void add(org.eclipse.core.runtime.IPath path, boolean addSubfolders, ICProject enclosingProject)
add
in interface ITypeSearchScope
public void add(ICProject project)
add
in interface ITypeSearchScope
public void addWorkspace()
addWorkspace
in interface ITypeSearchScope
public void add(ICElement elem)
add
in interface ITypeSearchScope
public void add(ITypeSearchScope scope)
add
in interface ITypeSearchScope
public void clear()
clear
in interface ITypeSearchScope
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.