Eclipse JDT
Release 3.0

org.eclipse.jdt.launching.sourcelookup.containers
Class ClasspathVariableSourceContainer

java.lang.Object
  extended byorg.eclipse.core.runtime.PlatformObject
      extended byorg.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
          extended byorg.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
              extended byorg.eclipse.jdt.launching.sourcelookup.containers.ClasspathVariableSourceContainer
All Implemented Interfaces:
IAdaptable, ISourceContainer

public class ClasspathVariableSourceContainer
extends CompositeSourceContainer

A classpath variable source container contains a source container that is the resolved value of the associated variable.

This class may be instantiated; this class is not intended to be subclassed.

Since:
3.0

Field Summary
static String TYPE_ID
          Unique identifier for Java project source container type (value org.eclipse.jdt.launching.sourceContainer.classpathVariable).
 
Fields inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
EMPTY
 
Constructor Summary
ClasspathVariableSourceContainer(IPath variablePath)
          Constructs a new source container on the given variable and suffix.
 
Method Summary
protected  ISourceContainer[] createSourceContainers()
           
 String getName()
           
 IPath getPath()
          Returns the variable this container references as a path.
 ISourceContainerType getType()
           
 
Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
dispose, findSourceElements, findSourceElements, getSourceContainers, isComposite
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

TYPE_ID

public static final String TYPE_ID
Unique identifier for Java project source container type (value org.eclipse.jdt.launching.sourceContainer.classpathVariable).

Constructor Detail

ClasspathVariableSourceContainer

public ClasspathVariableSourceContainer(IPath variablePath)
Constructs a new source container on the given variable and suffix.

Parameters:
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.
Method Detail

createSourceContainers

protected ISourceContainer[] createSourceContainers()
                                             throws CoreException
Throws:
CoreException

getName

public String getName()

getPath

public IPath getPath()
Returns the variable this container references as a path. The first segment is the variable name, and the following segments are appended to the variable's value.

Returns:
path representing the variable and suffix

getType

public ISourceContainerType getType()

Eclipse JDT
Release 3.0

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.