public class ProjectSourceContainer extends ContainerSourceContainer
Clients may instantiate this class. This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_ID
Unique identifier for the project source container type
(value
org.eclipse.debug.core.containerType.project). |
EMPTY| Constructor and Description |
|---|
ProjectSourceContainer(IProject project,
boolean referenced)
Constructs a project source container.
|
| Modifier and Type | Method and Description |
|---|---|
protected ISourceContainer[] |
createSourceContainers()
Creates the source containers in this composite container.
|
IProject |
getProject()
Returns the project this source container references.
|
ISourceContainerType |
getType()
Returns this container's type.
|
boolean |
isComposite()
Returns whether this container is a composite container.
|
boolean |
isSearchReferencedProjects()
Returns whether referenced projects are considered.
|
equals, findSourceElements, getContainer, getName, hashCodedispose, findSourceElements, getSourceContainersabort, getDirector, getSourceContainerType, init, isFindDuplicatesgetAdapterclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAdapterpublic static final String TYPE_ID
org.eclipse.debug.core.containerType.project).public ProjectSourceContainer(IProject project, boolean referenced)
project - the project to search for source inreferenced - whether referenced projects should be consideredpublic boolean isSearchReferencedProjects()
public IProject getProject()
public ISourceContainerType getType()
ISourceContainerpublic boolean isComposite()
ISourceContainerisComposite in interface ISourceContainerisComposite in class ContainerSourceContainerprotected ISourceContainer[] createSourceContainers() throws CoreException
CompositeSourceContainercreateSourceContainers in class ContainerSourceContainerCoreException - if unable to create the containersGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.