org.eclipse.cdt.managedbuilder.core
Interface IConfiguration

All Superinterfaces:
IBuildObject, IBuildObjectPropertiesContainer
All Known Implementing Classes:
Configuration, TestConfiguration

public interface IConfiguration
extends IBuildObject, IBuildObjectPropertiesContainer

A tool-integrator defines default configurations as children of the project type. These provide a template for the configurations added to the user's project, which are stored in the project's .cdtbuild file.

The configuration contains one child of type tool-chain. This describes how the project's resources are transformed into the build artifact. The configuration can contain one or more children of type resourceConfiguration. These describe build settings of individual resources that are different from the configuration as a whole.

Since:
2.1

Field Summary
static java.lang.String ARTIFACT_NAME
           
static java.lang.String BUILD_ARTEFACT_TYPE
           
static java.lang.String BUILD_PROPERTIES
           
static java.lang.String CLEAN_COMMAND
           
static java.lang.String CONFIGURATION_ELEMENT_NAME
           
static java.lang.String DESCRIPTION
           
static java.lang.String ERROR_PARSERS
           
static java.lang.String EXTENSION
           
static java.lang.String IS_SYSTEM
           
static java.lang.String PARENT
           
static java.lang.String POSTANNOUNCEBUILD_STEP
           
static java.lang.String POSTBUILD_STEP
           
static java.lang.String PREANNOUNCEBUILD_STEP
           
static java.lang.String PREBUILD_STEP
           
static java.lang.String SOURCE_ENTRIES
           
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
ID, NAME
 
Method Summary
 boolean buildsFileType(java.lang.String srcExt)
           
 ITool calculateTargetTool()
          Calculates the configuration target tool.
 void changeBuilder(IBuilder newBuilder, java.lang.String id, java.lang.String name)
           
 IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path)
           
 IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path, IFileInfo base, java.lang.String id, java.lang.String name)
           
 IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path, IFolderInfo base, ITool baseTool, java.lang.String id, java.lang.String name)
           
 IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path, java.lang.String id, java.lang.String name)
           
 IFolderInfo createFolderInfo(org.eclipse.core.runtime.IPath path)
           
 IFolderInfo createFolderInfo(org.eclipse.core.runtime.IPath path, IFolderInfo base, java.lang.String id, java.lang.String name)
           
 IFolderInfo createFolderInfo(org.eclipse.core.runtime.IPath path, java.lang.String id, java.lang.String name)
           
 IResourceConfiguration createResourceConfiguration(org.eclipse.core.resources.IFile file)
          Creates a child resource configuration corresponding to the passed in file.
 IToolChain createToolChain(IToolChain superClass, java.lang.String Id, java.lang.String name, boolean isExtensionElement)
          Creates the IToolChain child of this configuration.
 IManagedCommandLineInfo generateToolCommandLineInfo(java.lang.String sourceExtension, java.lang.String[] flags, java.lang.String outputFlag, java.lang.String outputPrefix, java.lang.String outputName, java.lang.String[] inputResources, org.eclipse.core.runtime.IPath inputLocation, org.eclipse.core.runtime.IPath outputLocation)
           
 java.lang.String getArtifactExtension()
          Returns the extension that should be applied to build artifacts created by this configuration.
 java.lang.String getArtifactName()
          Returns the name of the final build artifact.
 java.lang.String getBuildArguments()
          Returns the build arguments from this configuration's builder
 IBuildPropertyValue getBuildArtefactType()
           
 java.lang.String getBuildCommand()
          Returns the build command from this configuration's builder
 org.eclipse.cdt.core.settings.model.extension.CBuildData getBuildData()
           
 IBuilder getBuilder()
           
 IConfigurationBuildMacroSupplier getBuildMacroSupplier()
          Returns the tool-integrator provided implementation of the configuration build macro supplier or null if none.
 java.lang.String getCleanCommand()
          Answers the OS-specific command to remove files created by the build of this configuration.
 org.eclipse.cdt.core.settings.model.extension.CConfigurationData getConfigurationData()
           
 java.lang.String getDescription()
          Returns the description of the configuration.
 IBuilder getEditableBuilder()
           
 IConfigurationEnvironmentVariableSupplier getEnvironmentVariableSupplier()
          Returns the implementation of the IConfigurationEnvironmentVariableSupplier provided by the tool-integrator or null if none.
 java.lang.String getErrorParserIds()
          Answers the semicolon separated list of unique IDs of the error parsers associated with this configuration.
 java.lang.String[] getErrorParserList()
          Answers the ordered list of unique IDs of the error parsers associated with this configuration.
 ITool[] getFilteredTools()
          Projects have C or CC natures.
 java.lang.String[] getLibs(java.lang.String extension)
           
 IManagedProject getManagedProject()
          Returns the managed-project parent of this configuration, if this is a project configuration.
 java.lang.String getOutputExtension(java.lang.String resourceExtension)
           
 java.lang.String getOutputFlag(java.lang.String outputExt)
           
 java.lang.String getOutputPrefix(java.lang.String outputExtension)
           
 org.eclipse.core.resources.IResource getOwner()
          Returns the Eclipse project that owns the configuration.
 IConfiguration getParent()
          Returns the configuration that this configuration is based on.
 java.lang.String getPostannouncebuildStep()
          Returns the display string associated with the postbuild step
 java.lang.String getPostbuildStep()
          Returns the postbuild step command
 java.lang.String getPreannouncebuildStep()
          Returns the display string associated with the prebuild step
 java.lang.String getPrebuildStep()
          Returns the prebuild step command
 IProjectType getProjectType()
          Returns the project-type parent of this configuration, if this is an extension configuration.
 IResourceConfiguration getResourceConfiguration(java.lang.String path)
          Returns the resource configuration child of this configuration that is associated with the project resource, or null if none.
 IResourceConfiguration[] getResourceConfigurations()
          Returns the resource configuration children of this configuration.
 IResourceInfo getResourceInfo(org.eclipse.core.runtime.IPath path, boolean exactPath)
           
 IResourceInfo getResourceInfoById(java.lang.String id)
           
 IResourceInfo[] getResourceInfos()
           
 IFolderInfo getRootFolderInfo()
           
 org.eclipse.cdt.core.settings.model.ICSourceEntry[] getSourceEntries()
           
 ITool getTargetTool()
          Returns the tool in this configuration specified with the toolChain#targetTool attribute that creates the build artifact NOTE: This method returns null in case the toolChain definition does not have the targetTool attribute or if the attribute does not refer to the appropriate tool.
 ITool getTool(java.lang.String id)
          Returns the ITool in this configuration's tool-chain with the same id as the argument, or null.
 IToolChain getToolChain()
          Returns the IToolChain child of this configuration.
 java.lang.String getToolCommand(ITool tool)
          Returns the command-line invocation command for the specified tool.
 ITool getToolFromInputExtension(java.lang.String sourceExtension)
          Returns a ITool for the tool associated with the input extension.
 ITool getToolFromOutputExtension(java.lang.String extension)
          Returns a ITool for the tool associated with the output extension.
 ITool[] getTools()
          Returns the tools that are used in this configuration's tool-chain.
 ITool[] getToolsBySuperClassId(java.lang.String id)
          Returns the ITool in this configuration's tool-chain with the specified ID, or the tool(s) with a superclass with this id.
 java.lang.String[] getUserObjects(java.lang.String extension)
           
 boolean hasOverriddenBuildCommand()
          Returns true if this configuration has overridden the default build build command in this configuration, otherwise false.
 boolean isBuilderCompatible(IBuilder builder)
           
 boolean isDirty()
          Returns true if this configuration has changes that need to be saved in the project file, else false.
 boolean isExtensionElement()
          Returns true if this configuration was loaded from a manifest file, and false if it was loaded from a project (.cdtbuild) file.
 boolean isHeaderFile(java.lang.String ext)
          Returns true if the extension matches one of the special file extensions the tools for the configuration consider to be a header file.
 boolean isManagedBuildOn()
           
 boolean isSupported()
          Returns true if the configuration's tool-chain is supported on the system otherwise returns false
 boolean isSystemObject()
           
 boolean isTemporary()
          answers true if the configuration is temporary, otherwise - false
 boolean needsFullRebuild()
          Returns whether this configuration requires a full rebuild
 boolean needsRebuild()
          Returns whether this configuration has been changed and requires the project to be rebuilt.
 void removeResourceConfiguration(IResourceInfo resConfig)
          Removes a resource configuration from the configuration's list.
 void removeResourceInfo(org.eclipse.core.runtime.IPath path)
           
 void setArtifactExtension(java.lang.String extension)
          Set (override) the extension that should be appended to the build artifact for the receiver.
 void setArtifactName(java.lang.String name)
          Set the name of the artifact that will be produced when the receiver is built.
 void setBuildArguments(java.lang.String makeArgs)
          Sets the arguments to be passed to the build utility used by the receiver to produce a build goal.
 void setBuildArtefactType(java.lang.String id)
           
 void setBuildCommand(java.lang.String command)
          Sets the build command for the receiver to the value in the argument.
 void setCleanCommand(java.lang.String command)
          Sets the command used to clean the outputs of this configuration.
 void setDescription(java.lang.String description)
          Sets the description of the receiver to the value specified in the argument
 void setDirty(boolean isDirty)
          Sets the element's "dirty" (have I been modified?)
 void setErrorParserIds(java.lang.String ids)
          Sets the semicolon separated list of error parser ids
 void setErrorParserList(java.lang.String[] ids)
           
 void setManagedBuildOn(boolean on)
           
 void setName(java.lang.String name)
          Sets the name of the receiver to the value specified in the argument
 IOption setOption(IHoldsOptions parent, IOption option, boolean value)
          Sets the value of a boolean option for this configuration.
 IOption setOption(IHoldsOptions parent, IOption option, java.lang.String value)
          Sets the value of a string option for this configuration.
 IOption setOption(IHoldsOptions parent, IOption option, java.lang.String[] value)
          Sets the value of a list option for this configuration.
 void setPostannouncebuildStep(java.lang.String announceStep)
          Sets the postbuild step display string for the receiver to the value in the argument.
 void setPostbuildStep(java.lang.String step)
          Sets the postbuild step for the receiver to the value in the argument.
 void setPreannouncebuildStep(java.lang.String announceStep)
          Sets the prebuild step display string for the receiver to the value in the argument.
 void setPrebuildStep(java.lang.String step)
          Sets the prebuild step for the receiver to the value in the argument.
 void setRebuildState(boolean rebuild)
          Sets the rebuild state in this configuration.
 void setSourceEntries(org.eclipse.cdt.core.settings.model.ICSourceEntry[] entries)
           
 void setToolCommand(ITool tool, java.lang.String command)
          Overrides the tool command for a tool defined in this configuration's tool-chain.
 boolean supportsBuild(boolean managed)
           
 
Methods inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
getBaseId, getId, getManagedBuildRevision, getName, getVersion, setVersion
 
Methods inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObjectPropertiesContainer
getBuildProperties
 

Field Detail

ARTIFACT_NAME

static final java.lang.String ARTIFACT_NAME
See Also:
Constant Field Values

CLEAN_COMMAND

static final java.lang.String CLEAN_COMMAND
See Also:
Constant Field Values

PREBUILD_STEP

static final java.lang.String PREBUILD_STEP
See Also:
Constant Field Values

POSTBUILD_STEP

static final java.lang.String POSTBUILD_STEP
See Also:
Constant Field Values

PREANNOUNCEBUILD_STEP

static final java.lang.String PREANNOUNCEBUILD_STEP
See Also:
Constant Field Values

POSTANNOUNCEBUILD_STEP

static final java.lang.String POSTANNOUNCEBUILD_STEP
See Also:
Constant Field Values

CONFIGURATION_ELEMENT_NAME

static final java.lang.String CONFIGURATION_ELEMENT_NAME
See Also:
Constant Field Values

ERROR_PARSERS

static final java.lang.String ERROR_PARSERS
See Also:
Constant Field Values

EXTENSION

static final java.lang.String EXTENSION
See Also:
Constant Field Values

PARENT

static final java.lang.String PARENT
See Also:
Constant Field Values

DESCRIPTION

static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

BUILD_PROPERTIES

static final java.lang.String BUILD_PROPERTIES
See Also:
Constant Field Values

BUILD_ARTEFACT_TYPE

static final java.lang.String BUILD_ARTEFACT_TYPE
See Also:
Constant Field Values

IS_SYSTEM

static final java.lang.String IS_SYSTEM
See Also:
Constant Field Values

SOURCE_ENTRIES

static final java.lang.String SOURCE_ENTRIES
See Also:
Constant Field Values
Method Detail

getDescription

java.lang.String getDescription()
Returns the description of the configuration.

Returns:
String

setDescription

void setDescription(java.lang.String description)
Sets the description of the receiver to the value specified in the argument

Parameters:
description -

createResourceConfiguration

IResourceConfiguration createResourceConfiguration(org.eclipse.core.resources.IFile file)
Creates a child resource configuration corresponding to the passed in file.

Parameters:
file -
Returns:
IResourceConfiguration

createToolChain

IToolChain createToolChain(IToolChain superClass,
                           java.lang.String Id,
                           java.lang.String name,
                           boolean isExtensionElement)
Creates the IToolChain child of this configuration.

Parameters:
ToolChain - The superClass, if any
String - The id for the new tool chain
String - The name for the new tool chain
Returns:
IToolChain

getArtifactExtension

java.lang.String getArtifactExtension()
Returns the extension that should be applied to build artifacts created by this configuration.

Returns:
String

getArtifactName

java.lang.String getArtifactName()
Returns the name of the final build artifact.

Returns:
String

getBuildArguments

java.lang.String getBuildArguments()
Returns the build arguments from this configuration's builder

Returns:
String

getBuildCommand

java.lang.String getBuildCommand()
Returns the build command from this configuration's builder

Returns:
String

getPrebuildStep

java.lang.String getPrebuildStep()
Returns the prebuild step command

Returns:
String

getPostbuildStep

java.lang.String getPostbuildStep()
Returns the postbuild step command

Returns:
String

getPreannouncebuildStep

java.lang.String getPreannouncebuildStep()
Returns the display string associated with the prebuild step

Returns:
String

getPostannouncebuildStep

java.lang.String getPostannouncebuildStep()
Returns the display string associated with the postbuild step

Returns:
String

getCleanCommand

java.lang.String getCleanCommand()
Answers the OS-specific command to remove files created by the build of this configuration.

Returns:
String

getErrorParserIds

java.lang.String getErrorParserIds()
Answers the semicolon separated list of unique IDs of the error parsers associated with this configuration.

Returns:
String

getErrorParserList

java.lang.String[] getErrorParserList()
Answers the ordered list of unique IDs of the error parsers associated with this configuration.

Returns:
String[]

getFilteredTools

ITool[] getFilteredTools()
Projects have C or CC natures. Tools can specify a filter so they are not misapplied to a project. This method allows the caller to retrieve a list of tools from a project that are correct for a project's nature.

Returns:
an array of ITools that have compatible filters for this configuration.

getManagedProject

IManagedProject getManagedProject()
Returns the managed-project parent of this configuration, if this is a project configuration. Otherwise, returns null.

Returns:
IManagedProject

getOwner

org.eclipse.core.resources.IResource getOwner()
Returns the Eclipse project that owns the configuration.

Returns:
IResource

getParent

IConfiguration getParent()
Returns the configuration that this configuration is based on.

Returns:
IConfiguration

getProjectType

IProjectType getProjectType()
Returns the project-type parent of this configuration, if this is an extension configuration. Otherwise, returns null.

Returns:
IProjectType

getResourceConfiguration

IResourceConfiguration getResourceConfiguration(java.lang.String path)
Returns the resource configuration child of this configuration that is associated with the project resource, or null if none.

Returns:
IResourceConfiguration

getResourceConfigurations

IResourceConfiguration[] getResourceConfigurations()
Returns the resource configuration children of this configuration.

Returns:
IResourceConfigurations[]

getTool

ITool getTool(java.lang.String id)
Returns the ITool in this configuration's tool-chain with the same id as the argument, or null.

Parameters:
id - unique identifier to search for
Returns:
ITool

getToolsBySuperClassId

ITool[] getToolsBySuperClassId(java.lang.String id)
Returns the ITool in this configuration's tool-chain with the specified ID, or the tool(s) with a superclass with this id.

If the tool-chain does not have a tool with that ID, the method returns an empty array. It is the responsibility of the caller to verify the return value.

Parameters:
id - unique identifier of the tool to search for
Returns:
ITool[]
Since:
3.0.2

getToolChain

IToolChain getToolChain()
Returns the IToolChain child of this configuration.

Returns:
IToolChain

getToolCommand

java.lang.String getToolCommand(ITool tool)
Returns the command-line invocation command for the specified tool.

Parameters:
tool - The tool that will have its command retrieved.
Returns:
String The command

getTools

ITool[] getTools()
Returns the tools that are used in this configuration's tool-chain.

Returns:
ITool[]

getTargetTool

ITool getTargetTool()
Returns the tool in this configuration specified with the toolChain#targetTool attribute that creates the build artifact NOTE: This method returns null in case the toolChain definition does not have the targetTool attribute or if the attribute does not refer to the appropriate tool. For the target tool calculation the IConfiguration#calculateTargetTool() method should be used

Returns:
ITool
See Also:
calculateTargetTool()

hasOverriddenBuildCommand

boolean hasOverriddenBuildCommand()
Returns true if this configuration has overridden the default build build command in this configuration, otherwise false.

Returns:
boolean

isHeaderFile

boolean isHeaderFile(java.lang.String ext)
Returns true if the extension matches one of the special file extensions the tools for the configuration consider to be a header file.

Parameters:
ext - the file extension of the resource
Returns:
boolean

isDirty

boolean isDirty()
Returns true if this configuration has changes that need to be saved in the project file, else false. Should not be called for an extension configuration.

Returns:
boolean

isExtensionElement

boolean isExtensionElement()
Returns true if this configuration was loaded from a manifest file, and false if it was loaded from a project (.cdtbuild) file.

Returns:
boolean

needsRebuild

boolean needsRebuild()
Returns whether this configuration has been changed and requires the project to be rebuilt.

Returns:
true if the configuration contains a change that needs the project to be rebuilt. Should not be called for an extension configuration.

removeResourceConfiguration

void removeResourceConfiguration(IResourceInfo resConfig)
Removes a resource configuration from the configuration's list.

Parameters:
option -

removeResourceInfo

void removeResourceInfo(org.eclipse.core.runtime.IPath path)

setArtifactExtension

void setArtifactExtension(java.lang.String extension)
Set (override) the extension that should be appended to the build artifact for the receiver.

Parameters:
extension -

setArtifactName

void setArtifactName(java.lang.String name)
Set the name of the artifact that will be produced when the receiver is built.

Parameters:
name -

setBuildArguments

void setBuildArguments(java.lang.String makeArgs)
Sets the arguments to be passed to the build utility used by the receiver to produce a build goal.

Parameters:
makeArgs -

setBuildCommand

void setBuildCommand(java.lang.String command)
Sets the build command for the receiver to the value in the argument.

Parameters:
command -

setPrebuildStep

void setPrebuildStep(java.lang.String step)
Sets the prebuild step for the receiver to the value in the argument.

Parameters:
step -

setPostbuildStep

void setPostbuildStep(java.lang.String step)
Sets the postbuild step for the receiver to the value in the argument.

Parameters:
step -

setPreannouncebuildStep

void setPreannouncebuildStep(java.lang.String announceStep)
Sets the prebuild step display string for the receiver to the value in the argument.

Parameters:
announceStep -

setPostannouncebuildStep

void setPostannouncebuildStep(java.lang.String announceStep)
Sets the postbuild step display string for the receiver to the value in the argument.

Parameters:
announceStep -

setCleanCommand

void setCleanCommand(java.lang.String command)
Sets the command used to clean the outputs of this configuration.

Parameters:
name -

setDirty

void setDirty(boolean isDirty)
Sets the element's "dirty" (have I been modified?) flag.

Parameters:
isDirty -

setErrorParserIds

void setErrorParserIds(java.lang.String ids)
Sets the semicolon separated list of error parser ids

Parameters:
ids -

setErrorParserList

void setErrorParserList(java.lang.String[] ids)

setName

void setName(java.lang.String name)
Sets the name of the receiver to the value specified in the argument

Parameters:
name -

setOption

IOption setOption(IHoldsOptions parent,
                  IOption option,
                  boolean value)
                  throws BuildException
Sets the value of a boolean option for this configuration.

Parameters:
parent - The holder/parent of the option.
option - The option to change.
value - The value to apply to the option.
Returns:
IOption The modified option. This can be the same option or a newly created option.
Throws:
BuildException
Since:
3.0 - The type of parent has changed from ITool to IHoldsOptions. Code assuming ITool as type, will continue to work unchanged.

setOption

IOption setOption(IHoldsOptions parent,
                  IOption option,
                  java.lang.String value)
                  throws BuildException
Sets the value of a string option for this configuration.

Parameters:
parent - The holder/parent of the option.
option - The option that will be effected by change.
value - The value to apply to the option.
Returns:
IOption The modified option. This can be the same option or a newly created option.
Throws:
BuildException
Since:
3.0 - The type of parent has changed from ITool to IHoldsOptions. Code assuming ITool as type, will continue to work unchanged.

setOption

IOption setOption(IHoldsOptions parent,
                  IOption option,
                  java.lang.String[] value)
                  throws BuildException
Sets the value of a list option for this configuration.

Parameters:
parent - The holder/parent of the option.
option - The option to change.
value - The values to apply to the option.
Returns:
IOption The modified option. This can be the same option or a newly created option.
Throws:
BuildException
Since:
3.0 - The type of parent has changed from ITool to IHoldsOptions. Code assuming ITool as type, will continue to work unchanged.

setRebuildState

void setRebuildState(boolean rebuild)
Sets the rebuild state in this configuration.

Parameters:
rebuild - true will force a rebuild the next time the project builds
See Also:
IManagedBuildInfo.setRebuildState(boolean)

setToolCommand

void setToolCommand(ITool tool,
                    java.lang.String command)
Overrides the tool command for a tool defined in this configuration's tool-chain.

Parameters:
tool - The tool that will have its command modified.
command - The command

isSupported

boolean isSupported()
Returns true if the configuration's tool-chain is supported on the system otherwise returns false

Returns:
boolean

getEnvironmentVariableSupplier

IConfigurationEnvironmentVariableSupplier getEnvironmentVariableSupplier()
Returns the implementation of the IConfigurationEnvironmentVariableSupplier provided by the tool-integrator or null if none.

Returns:
IConfigurationEnvironmentVariableSupplier

getBuildMacroSupplier

IConfigurationBuildMacroSupplier getBuildMacroSupplier()
Returns the tool-integrator provided implementation of the configuration build macro supplier or null if none.

Returns:
IConfigurationBuildMacroSupplier

isTemporary

boolean isTemporary()
answers true if the configuration is temporary, otherwise - false

Returns:
boolean

needsFullRebuild

boolean needsFullRebuild()
Returns whether this configuration requires a full rebuild

Returns:
boolean

calculateTargetTool

ITool calculateTargetTool()
Calculates the configuration target tool.

Returns:
ITool or null if not found
Since:
3.1

getToolFromOutputExtension

ITool getToolFromOutputExtension(java.lang.String extension)
Returns a ITool for the tool associated with the output extension.

Parameters:
extension - the file extension of the output file
Returns:
ITool
Since:
3.1

getToolFromInputExtension

ITool getToolFromInputExtension(java.lang.String sourceExtension)
Returns a ITool for the tool associated with the input extension.

Parameters:
extension - the file extension of the input file
Returns:
ITool
Since:
3.1

getResourceInfo

IResourceInfo getResourceInfo(org.eclipse.core.runtime.IPath path,
                              boolean exactPath)

getResourceInfos

IResourceInfo[] getResourceInfos()

getResourceInfoById

IResourceInfo getResourceInfoById(java.lang.String id)

getRootFolderInfo

IFolderInfo getRootFolderInfo()

createFileInfo

IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path)

createFileInfo

IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path,
                         java.lang.String id,
                         java.lang.String name)

createFileInfo

IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path,
                         IFolderInfo base,
                         ITool baseTool,
                         java.lang.String id,
                         java.lang.String name)

createFileInfo

IFileInfo createFileInfo(org.eclipse.core.runtime.IPath path,
                         IFileInfo base,
                         java.lang.String id,
                         java.lang.String name)

createFolderInfo

IFolderInfo createFolderInfo(org.eclipse.core.runtime.IPath path)

createFolderInfo

IFolderInfo createFolderInfo(org.eclipse.core.runtime.IPath path,
                             java.lang.String id,
                             java.lang.String name)

createFolderInfo

IFolderInfo createFolderInfo(org.eclipse.core.runtime.IPath path,
                             IFolderInfo base,
                             java.lang.String id,
                             java.lang.String name)

getConfigurationData

org.eclipse.cdt.core.settings.model.extension.CConfigurationData getConfigurationData()

getSourceEntries

org.eclipse.cdt.core.settings.model.ICSourceEntry[] getSourceEntries()

setSourceEntries

void setSourceEntries(org.eclipse.cdt.core.settings.model.ICSourceEntry[] entries)

getBuildData

org.eclipse.cdt.core.settings.model.extension.CBuildData getBuildData()

getBuilder

IBuilder getBuilder()

getEditableBuilder

IBuilder getEditableBuilder()

getOutputPrefix

java.lang.String getOutputPrefix(java.lang.String outputExtension)

isSystemObject

boolean isSystemObject()

getOutputExtension

java.lang.String getOutputExtension(java.lang.String resourceExtension)

getOutputFlag

java.lang.String getOutputFlag(java.lang.String outputExt)

generateToolCommandLineInfo

IManagedCommandLineInfo generateToolCommandLineInfo(java.lang.String sourceExtension,
                                                    java.lang.String[] flags,
                                                    java.lang.String outputFlag,
                                                    java.lang.String outputPrefix,
                                                    java.lang.String outputName,
                                                    java.lang.String[] inputResources,
                                                    org.eclipse.core.runtime.IPath inputLocation,
                                                    org.eclipse.core.runtime.IPath outputLocation)

getUserObjects

java.lang.String[] getUserObjects(java.lang.String extension)

getLibs

java.lang.String[] getLibs(java.lang.String extension)

buildsFileType

boolean buildsFileType(java.lang.String srcExt)

supportsBuild

boolean supportsBuild(boolean managed)

isManagedBuildOn

boolean isManagedBuildOn()

setManagedBuildOn

void setManagedBuildOn(boolean on)
                       throws BuildException
Throws:
BuildException

isBuilderCompatible

boolean isBuilderCompatible(IBuilder builder)

changeBuilder

void changeBuilder(IBuilder newBuilder,
                   java.lang.String id,
                   java.lang.String name)

getBuildArtefactType

IBuildPropertyValue getBuildArtefactType()

setBuildArtefactType

void setBuildArtefactType(java.lang.String id)
                          throws BuildException
Throws:
BuildException