[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-core-dev] IProject help
|
Hi,
I hope that someone can point me in the right direction.
I have been assigned the task of programatically launching Eclipse (with
the CDT plugin active) and automatically creating a standard C project
that points to an existing directory containing a Makefile and C files.
To accomplish the above, my current plan is to write a new plugin that
performs the same steps as a CDT Wizard, except the specifics for a
project will not be prompted from the user, but instead will be supplied
by a configuration file.
I am using the following:
eclipse-SDK-3.0.1-win32.zip
(Eclipse Platform Version: 3.0.1 Build id: 200409161125)
org.eclipse.cdt.sdk-2.1.0-win32.x86.zip
The createCProject() method requires several parameters, one of which is
public IProject createCProject(
final IProjectDescription description,
final IProject projectHandle,
IProgressMonitor monitor,
final String projectID)
throws CoreException, OperationCanceledException {
My current roadblock is with the "projectHandle" parameter. My plan is
to instantiate the class WizardNewProjectCreationPage (but not make it
visible) and call its getProjectHandle() method.
However, WizardNewProjectCreationPage is in org.eclipse.ui.dialogs, and
I didn't seem to get that jar file with the software I downloaded. So I
continue to look...
Could someone please comment on whether this overall approach is reasonable
and correct to accomplish the goal set before me? If there is another,
better way to do this, I would appreciate to know about it.
Best Regards,
David Spakes
-------------------------------------------------------------
David Spakes email: spakes@xxxxxxxx
SNMP Research voice: +1 865 573 1434
3001 Kimberlin Heights Road fax: +1 865 573 9197
Knoxville, TN 37920-9716 USA http://www.snmp.com
-------------------------------------------------------------
SNMPv3 is now...
the Full Internet Management Framework
(RFC 3410-3418)
Are your management tools secure, open, flexible, and scalable?
Rely on the proven experts when taking your next step