if (projectDescription != null) { // if the description is null it probably is not a cdt project
ICConfigurationDescription configurationDescriptions[] = projectDescription.getConfigurations();
boolean projectDescriptionChanged = false;
for (int curConfigDescription = 0; curConfigDescription < configurationDescriptions.length; curConfigDescription++) {
ICFolderDescription folderDescription = configurationDescriptions[curConfigDescription].getRootFolderDescription();
ICLanguageSetting[] languageSettings = folderDescription.getLanguageSettings();
// Add include path to all languages
for (int idx = 0; idx < languageSettings.length; idx++) {
ICLanguageSetting lang = languageSettings[idx];
String LangID = lang.getLanguageId();