org.eclipse.cdt.ui.wizards
Class NewCProjectWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
org.eclipse.cdt.ui.wizards.NewCProjectWizard
- All Implemented Interfaces:
- org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
- Direct Known Subclasses:
- ConversionWizard, NewCCProjectWizard, NewMakeProjectWizard
public abstract class NewCProjectWizard
- extends org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
- implements org.eclipse.core.runtime.IExecutableExtension
C Project wizard that creates a new project resource in
a location of the user's choice.
Fields inherited from class org.eclipse.jface.wizard.Wizard |
DEFAULT_IMAGE |
Method Summary |
void |
addPages()
|
java.lang.String |
getBuildSystemId()
|
org.eclipse.core.resources.IProject |
getNewProject()
Returns the C project handle corresponding to the project defined in
in the main page. |
org.eclipse.core.resources.IProject |
getProjectHandle()
Gets the project handle from the main page. |
abstract java.lang.String |
getProjectID()
Method getID. |
org.eclipse.jface.operation.IRunnableWithProgress |
getRunnable()
|
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection)
|
boolean |
performFinish()
|
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement cfig,
java.lang.String propertyName,
java.lang.Object data)
Stores the configuration element for the wizard. |
Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard |
getSelection, getWorkbench, selectAndReveal |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.wizard.IWizard |
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
NewCProjectWizard
public NewCProjectWizard()
NewCProjectWizard
public NewCProjectWizard(java.lang.String title,
java.lang.String description)
NewCProjectWizard
public NewCProjectWizard(java.lang.String title,
java.lang.String description,
java.lang.String error)
addPages
public void addPages()
- Specified by:
addPages
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in class org.eclipse.jface.wizard.Wizard
getProjectHandle
public org.eclipse.core.resources.IProject getProjectHandle()
throws java.lang.UnsupportedOperationException
- Gets the project handle from the main page.
Overwrite this method if you do not have a main page
- Throws:
java.lang.UnsupportedOperationException
getNewProject
public org.eclipse.core.resources.IProject getNewProject()
- Returns the C project handle corresponding to the project defined in
in the main page.
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interface org.eclipse.jface.wizard.IWizard
- Specified by:
performFinish
in class org.eclipse.jface.wizard.Wizard
setInitializationData
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement cfig,
java.lang.String propertyName,
java.lang.Object data)
- Stores the configuration element for the wizard. The config element will be used
in
performFinish
to set the result perspective.
- Specified by:
setInitializationData
in interface org.eclipse.core.runtime.IExecutableExtension
- See Also:
IExecutableExtension.setInitializationData(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object)
init
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection)
- Specified by:
init
in interface org.eclipse.ui.IWorkbenchWizard
- Overrides:
init
in class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
getRunnable
public org.eclipse.jface.operation.IRunnableWithProgress getRunnable()
getProjectID
public abstract java.lang.String getProjectID()
- Method getID.
- Returns:
- String
getBuildSystemId
public java.lang.String getBuildSystemId()