org.eclipse.cdt.ui.wizards
Class CDTCommonProjectWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
          extended by org.eclipse.cdt.ui.wizards.CDTCommonProjectWizard
All Implemented Interfaces:
IWizardWithMemory, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
Direct Known Subclasses:
CCProjectWizard, CDTProjectWizard, CProjectWizard

public abstract class CDTCommonProjectWizard
extends org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
implements org.eclipse.core.runtime.IExecutableExtension, IWizardWithMemory


Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
CDTCommonProjectWizard()
           
CDTCommonProjectWizard(java.lang.String title, java.lang.String desc)
           
 
Method Summary
 void addPages()
           
 boolean canFinish()
           
 org.eclipse.core.resources.IProject createIProject(java.lang.String name, org.eclipse.core.runtime.IPath location)
           
 void dispose()
           
 java.lang.String[] getContentTypeIDs()
           
 java.lang.String[] getExtensions()
           
 java.lang.String[] getLanguageIDs()
           
 org.eclipse.core.resources.IProject getLastProject()
           
 org.eclipse.core.runtime.IPath getLastProjectLocation()
           
 java.lang.String getLastProjectName()
          Returns last project name used for creation
abstract  java.lang.String[] getNatures()
           
 org.eclipse.core.resources.IProject getProject(boolean defaults)
           
 org.eclipse.core.resources.IProject getProject(boolean defaults, boolean onFinish)
           
 boolean performCancel()
           
 boolean performFinish()
           
 void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String propertyName, java.lang.Object data)
           
 
Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
getSelection, getWorkbench, init, selectAndReveal
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, 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
createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer
 

Constructor Detail

CDTCommonProjectWizard

public CDTCommonProjectWizard()

CDTCommonProjectWizard

public CDTCommonProjectWizard(java.lang.String title,
                              java.lang.String desc)
Method Detail

addPages

public void addPages()
Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.jface.wizard.Wizard

getProject

public org.eclipse.core.resources.IProject getProject(boolean defaults)

getProject

public org.eclipse.core.resources.IProject getProject(boolean defaults,
                                                      boolean onFinish)

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard

performCancel

public boolean performCancel()
Specified by:
performCancel in interface org.eclipse.jface.wizard.IWizard
Overrides:
performCancel in class org.eclipse.jface.wizard.Wizard

setInitializationData

public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
                                  java.lang.String propertyName,
                                  java.lang.Object data)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
setInitializationData in interface org.eclipse.core.runtime.IExecutableExtension
Throws:
org.eclipse.core.runtime.CoreException

createIProject

public org.eclipse.core.resources.IProject createIProject(java.lang.String name,
                                                          org.eclipse.core.runtime.IPath location)
                                                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getNatures

public abstract java.lang.String[] getNatures()

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.wizard.IWizard
Overrides:
dispose in class org.eclipse.jface.wizard.Wizard

canFinish

public boolean canFinish()
Specified by:
canFinish in interface org.eclipse.jface.wizard.IWizard
Overrides:
canFinish in class org.eclipse.jface.wizard.Wizard

getLastProjectName

public java.lang.String getLastProjectName()
Returns last project name used for creation

Specified by:
getLastProjectName in interface IWizardWithMemory

getLastProjectLocation

public org.eclipse.core.runtime.IPath getLastProjectLocation()
Specified by:
getLastProjectLocation in interface IWizardWithMemory

getLastProject

public org.eclipse.core.resources.IProject getLastProject()

getLanguageIDs

public java.lang.String[] getLanguageIDs()

getContentTypeIDs

public java.lang.String[] getContentTypeIDs()

getExtensions

public java.lang.String[] getExtensions()