本文整理汇总了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);
}
示例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());
}
}
示例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);
}
示例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);
}
}