public class ClasspathContainerSourceContainer extends CompositeSourceContainer
This class may be instantiated; this class is not intended to be subclassed.
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_ID
Unique identifier for Java project source container type
(value
org.eclipse.jdt.launching.sourceContainer.classpathContainer ). |
EMPTY
Constructor and Description |
---|
ClasspathContainerSourceContainer(IPath containerPath)
Constructs a new source container for the given classpath container.
|
Modifier and Type | Method and Description |
---|---|
protected ISourceContainer[] |
createSourceContainers() |
boolean |
equals(Object obj) |
IClasspathContainer |
getClasspathContainer()
Returns the associated container or
null if unavailable. |
String |
getName() |
IPath |
getPath()
Returns the classpath container's path
|
ISourceContainerType |
getType() |
int |
hashCode() |
dispose, findSourceElements, findSourceElements, getSourceContainers, isComposite
abort, getDirector, getSourceContainerType, init, isFindDuplicates
getAdapter
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAdapter
public static final String TYPE_ID
org.eclipse.jdt.launching.sourceContainer.classpathContainer
).public ClasspathContainerSourceContainer(IPath containerPath)
containerPath
- classpath container pathpublic String getName()
public ISourceContainerType getType()
protected ISourceContainer[] createSourceContainers() throws CoreException
createSourceContainers
in class CompositeSourceContainer
CoreException
public IPath getPath()
public IClasspathContainer getClasspathContainer() throws CoreException
null
if unavailable.null
CoreException
- if unable to retrieve containerCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.