[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdt-dev] Question about the org.eclipse.cdt.managedbuilder.ui.newWizardPages extension
- From: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2011 15:56:30 -0700
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:22.214.171.124) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9
I am looking at adding one or more custom wizard pages to the C/C++
project creation wizard. What I want these added pages to do is examine
and possibly modify some of the compiler and linker options, that are
normally available under the "Advanced Settings->Settings" dialog.
Is it a reasonable thing to want to do, or does it break some design rule?
Is this something that's relatively easy to do?
I would guess that just modifying the .cproject XML is not going to be
enough to get the new project settings to take hold, that there's likely
to be some in-memory representation that would need to be refreshed.
I've been looking at the org.eclipse.cdt.managedbuild.ui.newWizardPages
extension, but the operationClass's IRunnable.run() is not passed any
parameters at all. So it's not at all clear to me as to how to gain
access to the newly created project, and its settings.
Any pointers would be appreciated.
Thanks for your consideration,