|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IManagedDependencyGenerator2
Field Summary |
---|
Fields inherited from interface org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGeneratorType |
---|
TYPE_BUILD_COMMANDS, TYPE_COMMAND, TYPE_CUSTOM, TYPE_EXTERNAL, TYPE_INDEXER, TYPE_NODEPENDENCIES, TYPE_NODEPS, TYPE_OLD_TYPE_LIMIT, TYPE_PREBUILD_COMMANDS |
Method Summary | |
---|---|
java.lang.String |
getDependencyFileExtension(IConfiguration buildContext,
ITool tool)
Returns the file extension used by dependency files created by this dependency generator. |
IManagedDependencyInfo |
getDependencySourceInfo(org.eclipse.core.runtime.IPath source,
IBuildObject buildContext,
ITool tool,
org.eclipse.core.runtime.IPath topBuildDirectory)
Returns an instance of IManagedDependencyInfo for this source file. |
IManagedDependencyInfo |
getDependencySourceInfo(org.eclipse.core.runtime.IPath source,
org.eclipse.core.resources.IResource resource,
IBuildObject buildContext,
ITool tool,
org.eclipse.core.runtime.IPath topBuildDirectory)
Returns an instance of IManagedDependencyInfo for this source file. |
boolean |
postProcessDependencyFile(org.eclipse.core.runtime.IPath dependencyFile,
IConfiguration buildContext,
ITool tool,
org.eclipse.core.runtime.IPath topBuildDirectory)
Called to allow the dependency calculator to post-process dependency files. |
Methods inherited from interface org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGeneratorType |
---|
getCalculatorType |
Method Detail |
---|
IManagedDependencyInfo getDependencySourceInfo(org.eclipse.core.runtime.IPath source, org.eclipse.core.resources.IResource resource, IBuildObject buildContext, ITool tool, org.eclipse.core.runtime.IPath topBuildDirectory)
source
- The source file for which dependencies should be calculated
The IPath can be either relative to the project directory, or absolute in the file system.resource
- The IResource corresponding to the source file, or null if the file
is not a workspace resource.buildContext
- The IConfiguration or IResourceConfiguration that
contains the context in which the source file will be builttool
- The tool associated with the source filetopBuildDirectory
- The top build directory of the configuration. This is
the working directory for the tool. This IPath is relative to the project directory.
IManagedDependencyInfo getDependencySourceInfo(org.eclipse.core.runtime.IPath source, IBuildObject buildContext, ITool tool, org.eclipse.core.runtime.IPath topBuildDirectory)
source
- The source file for which dependencies should be calculated
The IPath can be either relative to the project directory, or absolute in the file system.buildContext
- The IConfiguration or IResourceConfiguration that
contains the context in which the source file will be builttool
- The tool associated with the source filetopBuildDirectory
- The top build directory of the configuration. This is
the working directory for the tool. This IPath is relative to the project directory.
java.lang.String getDependencyFileExtension(IConfiguration buildContext, ITool tool)
buildContext
- The IConfiguration that contains the context of the buildtool
- The tool associated with the dependency generator.
boolean postProcessDependencyFile(org.eclipse.core.runtime.IPath dependencyFile, IConfiguration buildContext, ITool tool, org.eclipse.core.runtime.IPath topBuildDirectory)
dependencyFile
- The dependency file
The IPath can be either relative to the top build directory, or absolute in the file system.buildContext
- The IConfiguration that contains the context of the buildtool
- The tool associated with the dependency generator. Note that this is
not necessarily the tool that created the dependency filetopBuildDirectory
- The top build directory of the project. This is
the working directory for the tool.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |