Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Questions regarding Language Settings Provider

Hi Sebastian,
How do you activate your provider when creating new project? Did you define your provider in your toolchain via BuildDefinitions extension point? If so, MBS should add providers with specified properties from associations to configurations while creating a new project.

Thanks,
Andrew



On Sun, Mar 31, 2013 at 6:45 AM, Sebastian Wagner <se.wagner@xxxxxx> wrote:
Hello Andrew,

thanks for your reply in the forum. I found how to activate my LanguageSettingsProvider by default when creating a new project.

I still would like to make my provider non- shared. I tried the LanguageSettingsProviderAssociation you mentioned, but the provider is still not editable nor I found how to make it non-shared.

Here the extract from the plugin.xml:

<extension
         point="org.eclipse.cdt.core.LanguageSettingsProvider">
      <provider
            id="com.valeo.vws.cdt.iartoolchain.iarclanguage.langsettingsprovider"
            name="IAR C Builtin Compiler Settings"
            prefer-non-shared="true">
         <entry
               kind="macro"
               name="__IAR_SYSTEMS_ICC__">
            <flag
                  value="BUILTIN">
            </flag>
         </entry>
         <language-scope
               id="com.valeo.vws.cdt.iartoolchain.iarclanguage">
         </language-scope>
      </provider>
   </extension>
   <extension
         point="org.eclipse.cdt.ui.LanguageSettingsProviderAssociation">
      <id-association
            id="com.valeo.vws.cdt.iartoolchain.iarclanguage.langsettingsprovider"
            ui-clear-entries="true"
            ui-edit-entries="true">
      </id-association>
   </extension>

I didn't put an own implementation class for the provider, so it uses the LanguageSettingsBaseProvider. Does this class provide the possibility to make the provider non- shared?

What needs to be done to make the provider non-shared directly after creating the project?

Thanks for your help!

Sebastian

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top