public class ProjectSourceContainer extends ContainerSourceContainer
Clients may instantiate this class.
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, hashCode
dispose, findSourceElements, getSourceContainers
abort, getDirector, getSourceContainerType, init, isFindDuplicates, warn
getAdapter
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAdapter
public 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()
ISourceContainer
public boolean isComposite()
ISourceContainer
isComposite
in interface ISourceContainer
isComposite
in class ContainerSourceContainer
protected ISourceContainer[] createSourceContainers() throws CoreException
CompositeSourceContainer
createSourceContainers
in class ContainerSourceContainer
ISourceContainer
sCoreException
- if unable to create the containers
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.