Package org.eclipse.cdt.core.settings.model

Examples of org.eclipse.cdt.core.settings.model.ICFolderDescription


      CCorePlugin.getDefault().getProjectDescription(project, true);
    ICConfigurationDescription[] configs = desc.getConfigurations();
    ICLanguageSettingEntry entry = createEntry(commandLine);

    for(ICConfigurationDescription config : configs){
      ICFolderDescription fdesc = config.getRootFolderDescription();
      ICLanguageSetting[] ls = fdesc.getLanguageSettings();
      for (ICLanguageSetting l : ls){
        String name = StringUtils.split(l.getName())[0].toLowerCase();
        if (name.equals(lang)){
          List<ICLanguageSettingEntry> lst =
            l.getSettingEntriesList(entry.getKind());
View Full Code Here


    ICConfigurationDescription[] configs = desc.getConfigurations();
    ICLanguageSettingEntry entry = createEntry(commandLine);

    boolean deleted = false;
    for(ICConfigurationDescription config : configs){
      ICFolderDescription fdesc = config.getRootFolderDescription();
      ICLanguageSetting[] ls = fdesc.getLanguageSettings();
      for (ICLanguageSetting l : ls){
        String name = StringUtils.split(l.getName())[0].toLowerCase();
        if (name.equals(lang)){
          List<ICLanguageSettingEntry> lst =
            l.getSettingEntriesList(entry.getKind());
View Full Code Here

     *            The path to add to the include folders
     * @see addLibraryDependency {@link #addLibraryDependency(IProject, IProject)}
     */
    private static void addIncludeFolder(ICConfigurationDescription configurationDescription, IPath IncludePath) {
  // find all languages
  ICFolderDescription folderDescription = configurationDescription.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();
View Full Code Here

     *            the configuration that is checked
     * @return true is a include path has been removed. False if the include path remains unchanged.
     */
    public static boolean removeInvalidIncludeFolders(ICConfigurationDescription configurationDescription) {
  // find all languages
  ICFolderDescription folderDescription = configurationDescription.getRootFolderDescription();
  ICLanguageSetting[] languageSettings = folderDescription.getLanguageSettings();
  boolean hasChange = false;
  // Add include path to all languages
  for (int idx = 0; idx < languageSettings.length; idx++) {
      ICLanguageSetting lang = languageSettings[idx];
      String LangID = lang.getLanguageId();
View Full Code Here

      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();
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.core.settings.model.ICFolderDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.