Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Getting chosen project type from an MBS custom page
Getting chosen project type from an MBS custom page [message #1006491] Thu, 31 January 2013 13:48 Go to next message
tony burton is currently offline tony burton
Messages: 26
Registered: April 2012
Location: France
Junior Member
Hi,
I've have posted this on the cdt developers list (when I didn't get an answer to another question on this forum, someone suggested I try on the developers list). I suppose it's not the correct place to ask because I didn't get an answer after 9 days.

Anyway, here is my question:

I have extended the New C Project wizard using org.eclipse.cdt.managedbuilder.ui.newWizardPages. I have created several custom pages for entering user parameters and all works well.

All I want to do is get the project type from the new C project first page.

I have seen, when studying CDTConfigWizardPage (the class of the new C Project wizard's 2nd page):

IProjectType pt = handler.getProjectType(); 


where handler is the MBSWizardHandler passed to the CDTConfigWizardPage's constructor.

How can I get this handler in one of my custom pages?

Thanks in advance,

Antony
Re: Getting chosen project type from an MBS custom page [message #1007507 is a reply to message #1006491] Wed, 06 February 2013 08:58 Go to previous message
tony burton is currently offline tony burton
Messages: 26
Registered: April 2012
Location: France
Junior Member
Anyone please?

More simply put:
I have extended and added new custom pages to the New C Project wizard.
How can I access data entered into the first New C Project wizard page from one of my custom pages?

Thanks in advance,

Antony

Previous Topic:Setting my own default new project options?
Next Topic:Juno CDT build Index -> Out of memory
Goto Forum:
  


Current Time: Wed Sep 17 17:43:38 GMT 2014

Powered by FUDForum. Page generated in 0.02973 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software