Yes, it does get me the first wizard
page, but there is no method to retrieve the user entered project
name...
Antony
On 24/09/2013 16:05, Chris Recoskie wrote:
Unless I'm mistaken, the code
I pasted should get you the same page.
===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto
Antony Burton ---09/24/2013
05:03:02 AM---Thanks Chris, but I was trying to access the
attribute fMainPage in CDTCommonProjectWizard to get t
From: Antony Burton
<aburton@xxxxxxxxxxx>
To: "CDT General developers list."
<cdt-dev@xxxxxxxxxxx>
Date: 09/24/2013 05:03 AM
Subject: Re: [cdt-dev] Getting project name
in custom pages of C New Project wizard
Sent by: cdt-dev-bounces@xxxxxxxxxxx
Thanks Chris, but I was trying to
access the attribute fMainPage in CDTCommonProjectWizard to get
the project name entered by the user on the first wizard page..
Unless there is another way?
Antony
On 23/09/2013 18:13, Chris Recoskie wrote:
org.eclipse.cdt.managedbuilder.ui.wizards.MBSCustomPageManager.getPageData(CDTMainWizardPage.PAGE_ID).getWizardPage()
===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto
Antony Burton ---09/23/2013
11:53:21 AM---Hello, Is there a way of getting the project
name entered by the user in
From: Antony Burton <aburton@xxxxxxxxxxx>
To: "CDT General
developers list." <cdt-dev@xxxxxxxxxxx>
Date: 09/23/2013
11:53 AM
Subject: [cdt-dev]
Getting project name in custom pages of C New Project wizard
Sent by: cdt-dev-bounces@xxxxxxxxxxx
Hello,
Is there a way of getting the project name entered by the
user in
the first page of the C New Project wizard from a custom
page? The
custom pages were added using
org.eclipse.cdt.managedbuilder.ui.newWizardPages.
I followed the code and I saw that CDTCommonProjectWizard
creates the
CDTMainWizardPage in its addPages() method:
fMainPage= new
CDTMainWizardPage(CUIPlugin.getResourceString(PREFIX));
...and so can get the project name with:
fMainPage.getProjectName()
Is it possible to get to fMainPage?
Thanks in advance,
Antony
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
|