Hi Doug,
I can’t remember anyone trying to
implement a dynamic list of enumerated options, but it probably can be done. The
Option class has an enumList member that contains the list of enumerated
values. You could probably modify the list after your tool-chain was
loaded.
Ø
Alternatively, did we
ever add the ability for an ISV to add in a customer edit dialog for an option?
No.
Ø
We have a few different
versions of our compiler that may be installed on the user’s system at
any time.
MBS does have “multi-version”
support. This is a somewhat “heavy-weight” mechanism and is
appropriate when the versions support different options.
I also defined a “multi-instance”
support a while back (2 yrs ago?) which is lighter weight and appropriate when
the versions use the same option pages, but this has not been implemented.
Regards,
Leo
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
Sent: Monday, May 29, 2006 12:31
PM
To: CDT
General developers list.
Subject: [cdt-dev] MBS Question
Hey gang, for this e-mail, I’ve put on my QNX
software developer hat and I have a question on MBS. And, yes, this may be a
newsgroup question J, but it
is also more an ISV question.
We have a few different versions of our compiler that
may be installed on the user’s system at any time. I know how to
dynamically get the list of installed versions and I want to present that list
in a tools option on the compiler so the user can select which version to use.
Is there a way to dyanically fill out the list of enumeration values.
Alternatively, did we ever add the ability for an ISV to add in a customer edit
dialog for an option?
Thanks, and sorry for sounding like a newbie J.
Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC member
http://cdtdoug.blogspot.com