org.eclipse.cdt.managedbuilder.pdomdepgen
Class PDOMDependencyCalculator
java.lang.Object
org.eclipse.cdt.managedbuilder.pdomdepgen.PDOMDependencyCalculator
- All Implemented Interfaces:
- IManagedDependencyCalculator, IManagedDependencyInfo
public class PDOMDependencyCalculator
- extends java.lang.Object
- implements IManagedDependencyCalculator
- Author:
- Doug Schaefer
Constructor Summary |
PDOMDependencyCalculator(org.eclipse.core.runtime.IPath source,
org.eclipse.core.resources.IResource resource,
IBuildObject buildContext,
ITool tool,
org.eclipse.core.runtime.IPath topBuildDirectory)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDOMDependencyCalculator
public PDOMDependencyCalculator(org.eclipse.core.runtime.IPath source,
org.eclipse.core.resources.IResource resource,
IBuildObject buildContext,
ITool tool,
org.eclipse.core.runtime.IPath topBuildDirectory)
getAdditionalTargets
public org.eclipse.core.runtime.IPath[] getAdditionalTargets()
- Description copied from interface:
IManagedDependencyCalculator
- Returns the list of source file specific additional targets that the
source file creates. Most source files will return null. An example
of where additional targets should be returned is for a Fortran 90
source file that creates one or more Fortran Modules.
Note that these output files that are dependencies to other invocations
of the same tool can be specified here, or as another output type
of the tool. If the output file can be used as the input of a different
tool, then use the output type mechanism.
The paths can be either relative to the top build directory, or absolute
in the file system.
- Specified by:
getAdditionalTargets
in interface IManagedDependencyCalculator
- Returns:
- IPath[]
getDependencies
public org.eclipse.core.runtime.IPath[] getDependencies()
- Description copied from interface:
IManagedDependencyCalculator
- Returns the list of source file specific dependencies.
The paths can be either relative to the project directory, or absolute
in the file system.
- Specified by:
getDependencies
in interface IManagedDependencyCalculator
- Returns:
- IPath[]
getBuildContext
public IBuildObject getBuildContext()
- Specified by:
getBuildContext
in interface IManagedDependencyInfo
getSource
public org.eclipse.core.runtime.IPath getSource()
- Specified by:
getSource
in interface IManagedDependencyInfo
getTool
public ITool getTool()
- Specified by:
getTool
in interface IManagedDependencyInfo
getTopBuildDirectory
public org.eclipse.core.runtime.IPath getTopBuildDirectory()
- Specified by:
getTopBuildDirectory
in interface IManagedDependencyInfo