public class ClasspathVariableSourceContainer 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.classpathVariable ). |
EMPTY
Constructor and Description |
---|
ClasspathVariableSourceContainer(IPath variablePath)
Constructs a new source container on the given variable and suffix.
|
Modifier and Type | Method and Description |
---|---|
protected ISourceContainer[] |
createSourceContainers() |
String |
getName() |
IPath |
getPath()
Returns the variable this container references as a path.
|
ISourceContainerType |
getType() |
dispose, findSourceElements, findSourceElements, getSourceContainers, isComposite
abort, getDirector, getSourceContainerType, init, isFindDuplicates
getAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdapter
public static final String TYPE_ID
org.eclipse.jdt.launching.sourceContainer.classpathVariable
).public ClasspathVariableSourceContainer(IPath variablePath)
variablePath
- path representing a Java classpath variable.
The first segment is the variable name, and the following segments
(if any) are appended to the variable.protected ISourceContainer[] createSourceContainers() throws CoreException
createSourceContainers
in class CompositeSourceContainer
CoreException
public String getName()
public IPath getPath()
public ISourceContainerType getType()
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.