Skip to main content

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

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



Back to the top