[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] RE: cdt-dev Digest, Vol 15, Issue 44
|
Hi Beth,
We have successfully added a wizard page to the existing C/C++ new
project wizard. We also faced the same problem when we first added the
page.
Our problem went off when we added controls on the page.
If not already added, just try adding any control on the page.
Hope this helps.
Regards,
Rekha
-----Original Message-----
Date: Wed, 17 May 2006 15:34:47 -0400
From: Beth Tibbitts <tibbitts@xxxxxxxxxx>
Subject: [cdt-dev] Using MBSCustomPageManager etc.
To: cdt-dev@xxxxxxxxxxx
Message-ID:
<OF222BE3F4.A1CC0365-ON85257171.0066B611-85257171.006B8E19@xxxxxxxxxx>
Content-Type: text/plain; charset=US-ASCII
I want to make a new project wizard that extends the existing C/C++ new
project wizards.
I want to make an MPI project, which is essentially a C/C++ project with
an
include and a build command change.
I started extending NewManagedCProjectWizard to start, and hooking it up
with the
extension point org.eclipse.ui.newWizards.
I intended to just override addPages() and add a new page.
But now I see this MBSCustomPageManager which sounds like it is
exactly what I want. Some newsgroup postings from Chris et.al. helped a
bit.
But I made the extension, and the page, and can't see it.
In fact when i run the wizard, breakpoints indicate it's running, but
absolutely
nothing shows up. I broke the regular new project wizard somehow.
I want an additional page to let the user set some include paths, then
i want to programmatically add those.
Also, what if I don't always want to have the extra MPI page?
Should I make a new type of new project wizard, one for MPI projects,
or use this as intended (I think) where it adds the page, and the user
can
choose to add the include (which will probably be calculated
automatically
on subsequent usage)
or not add the include?
So I guess I'm asking, what's the intended usage, how do I do it, and do
I
want that?
...Beth
Beth Tibbitts (859) 243-4981 (TL 545-4981)
IBM T.J.Watson Research Center
Mailing Address: IBM Corp., 455 Park Place, Lexington, KY 40511