|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
org.eclipse.debug.internal.core.sourcelookup.containers.ContainerSourceContainer
org.eclipse.debug.core.sourcelookup.containers.ProjectSourceContainer
A project in the workspace. Source is searched for in the root project folder and all folders within the project recursively. Optionally, referenced projects may be searched as well.
Clients may instantiate this class. This class is not intended to be subclassed.
Field Summary | |
---|---|
static String |
TYPE_ID
Unique identifier for the project source container type (value org.eclipse.debug.core.containerType.project ). |
Fields inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer |
---|
EMPTY |
Constructor Summary | |
---|---|
ProjectSourceContainer(IProject project,
boolean referenced)
Constructs a project source container. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.debug.internal.core.sourcelookup.containers.ContainerSourceContainer |
---|
equals, findSourceElements, getContainer, getName, hashCode |
Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer |
---|
dispose, findSourceElements, getSourceContainers |
Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer |
---|
abort, getDirector, getSourceContainerType, init, isFindDuplicates |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
---|
getAdapter |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
public static final String TYPE_ID
org.eclipse.debug.core.containerType.project
).
Constructor Detail |
public ProjectSourceContainer(IProject project, boolean referenced)
project
- the project to search for source inreferenced
- whether referenced projects should be consideredMethod Detail |
public boolean isSearchReferencedProjects()
public IProject getProject()
public ISourceContainerType getType()
ISourceContainer
public boolean isComposite()
ISourceContainer
protected ISourceContainer[] createSourceContainers() throws CoreException
CompositeSourceContainer
CoreException
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.