Class ClasspathContainerSourceContainer
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
org.eclipse.jdt.launching.sourcelookup.containers.ClasspathContainerSourceContainer
- All Implemented Interfaces:
IAdaptable, ISourceContainer
A source container for a classpath container.
This class may be instantiated.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUnique identifier for Java project source container type (valueorg.eclipse.jdt.launching.sourceContainer.classpathContainer).Fields inherited from class AbstractSourceContainer
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionClasspathContainerSourceContainer(IPath containerPath) Constructs a new source container for the given classpath container. -
Method Summary
Modifier and TypeMethodDescriptionprotected ISourceContainer[]booleanReturns the associated container ornullif unavailable.getName()getPath()Returns the classpath container's pathgetType()inthashCode()Methods inherited from class CompositeSourceContainer
dispose, findSourceElements, findSourceElements, getSourceContainers, isCompositeMethods inherited from class AbstractSourceContainer
abort, getDirector, getSourceContainerType, init, isFindDuplicates, warnMethods inherited from class PlatformObject
getAdapterMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAdaptable
getAdapter
-
Field Details
-
TYPE_ID
Unique identifier for Java project source container type (valueorg.eclipse.jdt.launching.sourceContainer.classpathContainer).
-
-
Constructor Details
-
ClasspathContainerSourceContainer
Constructs a new source container for the given classpath container.- Parameters:
containerPath- classpath container path
-
-
Method Details
-
getName
-
getType
-
createSourceContainers
- Specified by:
createSourceContainersin classCompositeSourceContainer- Throws:
CoreException
-
getPath
-
equals
-
hashCode
-
getClasspathContainer
Returns the associated container ornullif unavailable.- Returns:
- classpath container or
null - Throws:
CoreException- if unable to retrieve container
-