Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Changing buildArguments

Hi Andrew,

The problem is that if the page "C/C++ Build" was clicked before or
after mine page, so it is loaded in the properties dialogue, then it
reverts my changes and changes everything back (to a pre-cached copy,
I guess). On the other hand, if "C/C++ Build" was not clicked, then my
code works perfectly. Can I somehow influence the mentioned page?

The code I am calling is executed in performOK(); or did I misunderstand you?

Regards
-Sten

On 6 July 2011 16:34, Andrew Gvozdev <angvoz.dev@xxxxxxxxx> wrote:
> Hi Sten,
> Keep in mind that properties page gets a copy of configuration description
> and the changes get applied to the real one only with OK or Apply button. As
> far as I remember there are some things you need to do in performApply(),
> performOK() and performDefault() for that to happen.
> Andrew
>
> On Wed, Jul 6, 2011 at 10:05 AM, Sten Gruener <sten.gruener@xxxxxxxxx>
> wrote:
>>
>> Hello,
>>
>> I would like to change buildArguments of my project configuration from
>> own pagePreferences plugin (an own page from Project->Properties
>> dialogue).
>>
>> I am trying both ways described here:
>> http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg11166.html
>>
>> However none of them seems to work, or works just from time to time?
>>
>> Is it some kind of a raise condition? Do I need to call it from a
>> different thread?
>>
>> Regards
>> Sten
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>


Back to the top