当前位置: 首页>>代码示例>>Java>>正文


Java ICConfigurationDescription.getConfigurationData方法代码示例

本文整理汇总了Java中org.eclipse.cdt.core.settings.model.ICConfigurationDescription.getConfigurationData方法的典型用法代码示例。如果您正苦于以下问题:Java ICConfigurationDescription.getConfigurationData方法的具体用法?Java ICConfigurationDescription.getConfigurationData怎么用?Java ICConfigurationDescription.getConfigurationData使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.cdt.core.settings.model.ICConfigurationDescription的用法示例。


在下文中一共展示了ICConfigurationDescription.getConfigurationData方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: fullSync

import org.eclipse.cdt.core.settings.model.ICConfigurationDescription; //导入方法依赖的package包/类
@Override
public void fullSync(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) throws CoreException {
	BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
	IConfiguration managedConf = confData.getConfiguration();
	for (final ITool tool : managedConf.getToolsBySuperClassId(getToolId())) {
		tool.setToolCommand(getCompilerSettings(artifactSettings).getName());
	}
	final OptionSetter optionSetter = new OptionSetter(managedConf, getToolId());

	setUndefinedSymbols(optionSetter, artifactSettings);
	setOptimization(optionSetter, artifactSettings);
	setDebug(optionSetter, artifactSettings);
	setOptions(optionSetter, artifactSettings);
}
 
开发者ID:maven-nar,项目名称:m2e-nar,代码行数:15,代码来源:AbstractGnuCompilerSynchroniser.java

示例2: fullSync

import org.eclipse.cdt.core.settings.model.ICConfigurationDescription; //导入方法依赖的package包/类
@Override
public void fullSync(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) throws CoreException {
	final BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
	final IConfiguration managedConf = confData.getConfiguration();
	for (final ITool tool : managedConf.getToolsBySuperClassId(getToolId())) {
		tool.setToolCommand(artifactSettings.getLinkerSettings().getName());
	}
}
 
开发者ID:maven-nar,项目名称:m2e-nar,代码行数:9,代码来源:AbstractGnuLinkerSynchroniser.java

示例3: pathsOnlySync

import org.eclipse.cdt.core.settings.model.ICConfigurationDescription; //导入方法依赖的package包/类
@Override
public void pathsOnlySync(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) throws CoreException {
	final BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
	final IConfiguration managedConf = confData.getConfiguration();
	final OptionSetter optionSetter = new OptionSetter(managedConf, getToolId());
	setOptions(optionSetter, artifactSettings);
}
 
开发者ID:maven-nar,项目名称:m2e-nar,代码行数:8,代码来源:AbstractGnuLinkerSynchroniser.java

示例4: setArtifactName

import org.eclipse.cdt.core.settings.model.ICConfigurationDescription; //导入方法依赖的package包/类
private void setArtifactName(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) {
	final String artifactName = artifactSettings.getArtifactName();
	if (artifactName != null) {
		BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
		IConfiguration managedConf = confData.getConfiguration();
		managedConf.setArtifactName(artifactName);
	}
}
 
开发者ID:maven-nar,项目名称:m2e-nar,代码行数:9,代码来源:AbstractSettingsSynchroniser.java


注:本文中的org.eclipse.cdt.core.settings.model.ICConfigurationDescription.getConfigurationData方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。