Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] RE: Using MBSCustomPageManager etc.

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
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.
-----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
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
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 helped a

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
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
choose to add the include (which will probably be calculated
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
want that?


Beth Tibbitts  (859) 243-4981  (TL 545-4981)
IBM T.J.Watson Research Center
Mailing Address:  IBM Corp., 455 Park Place, Lexington, KY 40511

Back to the top