From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sennikovsky, Mikhail
Sent: Monday, November 28, 2005
7:50 AM
To: CDT General developers list.
Subject: RE: [cdt-dev] Default
value for stringList
Hi Aparna,
There is no way to mention default values
for the list-type options using MBS syntax, but there is a possibility to
specify built-in values, e.g.
<option
name="Include Paths"
command="-I"
browseType="directory"
valueType="includePath"
id="sub.tool.opt.inc.paths">
<listOptionValue
value="/usr/gnu/include"
builtIn="true">
</listOptionValue>
</option>
Do you need to specify default list-type
values or built-ins?
Note: I suppose you should be able to
specify default values for the list-type options programmatically, e.g. using
value handler mechanism. What type of exception do you get when trying to set
the default value from your value handler call-back?
Regards,
Mikhail
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Aparna Argade
Sent: Monday, November 28, 2005
3:19 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Default value
for stringList
Hi,
As per MBS model, stringList/ definedSymbols or similar
special types do not use default value. I tried to set value through
valueHandler class also, but there also exception occurs.
Is there any way to mention default value for a stringList
or definedSymbols?
Regards,
Aparna