public interface ICBuildConfigurationManager
Modifier and Type | Method and Description |
---|---|
void |
addBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration buildConfig,
ICBuildConfiguration cConfig)
Called by providers to add new build configurations as they are created.
|
org.eclipse.core.resources.IBuildConfiguration |
createBuildConfiguration(ICBuildConfigurationProvider provider,
org.eclipse.core.resources.IProject project,
String configName,
org.eclipse.core.runtime.IProgressMonitor monitor)
Create a new build configuration to be owned by a provider.
|
ICBuildConfiguration |
getBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration buildConfig)
Return the CDT build configuration associated with the given Platform
build configuration.
|
ICBuildConfiguration |
getBuildConfiguration(org.eclipse.core.resources.IProject project,
IToolChain toolChain,
String launchMode,
org.eclipse.core.runtime.IProgressMonitor monitor)
Create a new build configuration for a given project using a given
toolchain and builds for a given launch mode.
|
ICBuildConfiguration |
getBuildConfiguration(org.eclipse.core.resources.IProject project,
Map<String,String> properties,
String launchMode,
org.eclipse.core.runtime.IProgressMonitor monitor)
Deprecated.
clients really need to pick which toolchain they want a build
config for. This method pretty much picks one at random.
|
ICBuildConfigurationProvider |
getProvider(String id)
Return the build configuration provider with the given id.
|
boolean |
hasConfiguration(ICBuildConfigurationProvider provider,
org.eclipse.core.resources.IProject project,
String configName)
Return whether the given project has a configuration with the given
configName.
|
boolean |
supports(org.eclipse.core.resources.IProject project)
Does this build system support this project.
|
ICBuildConfigurationProvider getProvider(String id)
id
- boolean hasConfiguration(ICBuildConfigurationProvider provider, org.eclipse.core.resources.IProject project, String configName) throws org.eclipse.core.runtime.CoreException
provider
- project
- configName
- org.eclipse.core.runtime.CoreException
org.eclipse.core.resources.IBuildConfiguration createBuildConfiguration(ICBuildConfigurationProvider provider, org.eclipse.core.resources.IProject project, String configName, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
provider
- project
- configName
- monitor
- org.eclipse.core.runtime.CoreException
ICBuildConfiguration getBuildConfiguration(org.eclipse.core.resources.IProject project, IToolChain toolChain, String launchMode, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
project
- project for the configtoolChain
- toolchain the build config will uselaunchMode
- launch mode the buld config will build fororg.eclipse.core.runtime.CoreException
@Deprecated ICBuildConfiguration getBuildConfiguration(org.eclipse.core.resources.IProject project, Map<String,String> properties, String launchMode, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
project
- project for the configproperties
- properties for the toolchain to be selectedlaunchMode
- launch mode the buld config will build fororg.eclipse.core.runtime.CoreException
void addBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration buildConfig, ICBuildConfiguration cConfig)
buildConfig
- platform build configurationcConfig
- CDT build configurationICBuildConfiguration getBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration buildConfig) throws org.eclipse.core.runtime.CoreException
buildConfig
- org.eclipse.core.runtime.CoreException
boolean supports(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
project
- org.eclipse.core.runtime.CoreException
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.