Eclipse JDT
Release 3.1

org.eclipse.jdt.launching
Class StandardSourcePathProvider

java.lang.Object
  extended byorg.eclipse.jdt.launching.StandardClasspathProvider
      extended byorg.eclipse.jdt.launching.StandardSourcePathProvider
All Implemented Interfaces:
IRuntimeClasspathProvider

public class StandardSourcePathProvider
extends StandardClasspathProvider

Default implementation of source lookup path computation and resolution.

This class may be subclassed.

Since:
2.0

Constructor Summary
StandardSourcePathProvider()
           
 
Method Summary
protected  void addManifestReferences(IRuntimeClasspathEntry entry, List all)
          If the given entry is an archive, adds any archives referenced by the associated manifest.
 IRuntimeClasspathEntry[] computeUnresolvedClasspath(ILaunchConfiguration configuration)
          Computes and returns an unresolved classpath for the given launch configuration.
 IRuntimeClasspathEntry[] resolveClasspath(IRuntimeClasspathEntry[] entries, ILaunchConfiguration configuration)
          Returns the resolved path corresponding to the given path, in the context of the given launch configuration.
 
Methods inherited from class org.eclipse.jdt.launching.StandardClasspathProvider
recoverRuntimePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSourcePathProvider

public StandardSourcePathProvider()
Method Detail

computeUnresolvedClasspath

public IRuntimeClasspathEntry[] computeUnresolvedClasspath(ILaunchConfiguration configuration)
                                                    throws CoreException
Description copied from interface: IRuntimeClasspathProvider
Computes and returns an unresolved classpath for the given launch configuration. Variable and container entries are not resolved.

Specified by:
computeUnresolvedClasspath in interface IRuntimeClasspathProvider
Overrides:
computeUnresolvedClasspath in class StandardClasspathProvider
Throws:
CoreException

resolveClasspath

public IRuntimeClasspathEntry[] resolveClasspath(IRuntimeClasspathEntry[] entries,
                                                 ILaunchConfiguration configuration)
                                          throws CoreException
Description copied from interface: IRuntimeClasspathProvider
Returns the resolved path corresponding to the given path, in the context of the given launch configuration. Variable and container entries are resolved. The returned (resolved) path need not have the same number of entries as the given (unresolved) path.

Specified by:
resolveClasspath in interface IRuntimeClasspathProvider
Overrides:
resolveClasspath in class StandardClasspathProvider
Throws:
CoreException

addManifestReferences

protected void addManifestReferences(IRuntimeClasspathEntry entry,
                                     List all)
If the given entry is an archive, adds any archives referenced by the associated manifest.

Parameters:
entry - runtime classpath entry
all - list to add references to

Eclipse JDT
Release 3.1

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