Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] How to dynamically add a wizard page based on the template that was selected in the wizard page.


I am using the extension point "org.eclipse.cdt.core.templates" to provide custom templates to the project types "" and "". I am also using the "pagesAfterTemplateSelectionProvider" to provide an wizard page because I want to populate the values dynamically.

<extension point = "org.eclipse.cdt.core.templates">
        filterPattern = ".*"
        id = ""
        location = "templates/projectconfig/exe.xml"
        pagesAfterTemplateSelectionProvider = ""
        projectType = ""/>

My Template gets listed correctly under the "Executable" folder of the new C++ Project wizard. But what I see that this wizard page gets added to all the CDT projects of type "", like when the user selects say "Hello World C++ Project" or "Empty Project" no just with the template I provided. Is their any way to know which template the user selected and control the addition of the wizard page. I do not want to define a new project type and I am using CDT 4.0.

Thanks in advance,
C. Lalitha Krishna Kishore
Rational Software, IBM Software Group
email: krishna.kishore@xxxxxxxxxx

Back to the top