Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Accessing data in New C Project Wizard

 Thanks very much for the reply Chris! I can now get my project type with:

    Object theData = MBSCustomPageManager.getPageProperty("org.eclipse.cdt.managedbuilder.ui.wizard.platformPage", "projectType");
    String projType = theData.toString();

I just have another small question: is it possible to de-validate the finish button on the first page if my project type is selected? For me this is essential to stop the user finishing before reaching the custom pages.

Thanks again,


On 08/02/2013 17:12, Chris Recoskie wrote:

See org.eclipse.cdt.managedbuilder.ui.wizards.MBSCustomPageManager.addPageProperty(String, String, Object) and org.eclipse.cdt.managedbuilder.ui.wizards.MBSCustomPageManager.getPageProperty(String, String)

The stock pages set some properties that you can query from your own pages or from your operation class.

Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto

          hide details for Antony Burton ---02/08/2013 11:08:25 AM---Hi,
          Have asked this question before (both here and on CDAntony Burton ---02/08/2013 11:08:25 AM---Hi,    Have asked this question before (both here and on CDT forum) but no

From: Antony Burton <aburton@xxxxxxxxxxx>
To: cdt-dev@xxxxxxxxxxx
Date: 02/08/2013 11:08 AM
Subject: [cdt-dev] Accessing data in New C Project Wizard
Sent by: cdt-dev-bounces@xxxxxxxxxxx

  Have asked this question before (both here and on CDT forum) but no
answer, so getting a little desperate!

I will try to be clearer:

I have extended and added new custom pages to the New C Project wizard
by extendingorg.eclipse.cdt.managedbuilder.ui.newWizardPages

How can I access data entered into the first New C Project wizard page
from one of my custom pages?

I would really appreciate it if someone could give me an answer.

I have already searched the internet and CDT forum and read the Managed
Build System Extensibility Document.



cdt-dev mailing list

cdt-dev mailing list

Back to the top