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:
org.eclipse.core.runtime.IAdaptable,org.eclipse.debug.core.sourcelookup.ISourceContainer
public class ClasspathContainerSourceContainer
extends org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
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 org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionClasspathContainerSourceContainer(org.eclipse.core.runtime.IPath containerPath) Constructs a new source container for the given classpath container. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.debug.core.sourcelookup.ISourceContainer[]booleanReturns the associated container ornullif unavailable.getName()org.eclipse.core.runtime.IPathgetPath()Returns the classpath container's pathorg.eclipse.debug.core.sourcelookup.ISourceContainerTypegetType()inthashCode()Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
dispose, findSourceElements, findSourceElements, getSourceContainers, isCompositeMethods inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
abort, getDirector, getSourceContainerType, init, isFindDuplicates, warnMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Field Details
-
TYPE_ID
Unique identifier for Java project source container type (valueorg.eclipse.jdt.launching.sourceContainer.classpathContainer).
-
-
Constructor Details
-
ClasspathContainerSourceContainer
public ClasspathContainerSourceContainer(org.eclipse.core.runtime.IPath containerPath) Constructs a new source container for the given classpath container.- Parameters:
containerPath- classpath container path
-
-
Method Details
-
getName
-
getType
public org.eclipse.debug.core.sourcelookup.ISourceContainerType getType() -
createSourceContainers
protected org.eclipse.debug.core.sourcelookup.ISourceContainer[] createSourceContainers() throws org.eclipse.core.runtime.CoreException- Specified by:
createSourceContainersin classorg.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer- Throws:
org.eclipse.core.runtime.CoreException
-
getPath
public org.eclipse.core.runtime.IPath getPath()Returns the classpath container's path- Returns:
- classpath container's path
-
equals
-
hashCode
public int hashCode() -
getClasspathContainer
Returns the associated container ornullif unavailable.- Returns:
- classpath container or
null - Throws:
org.eclipse.core.runtime.CoreException- if unable to retrieve container
-