org.eclipse.cdt.ui.wizards.conversion
Class ConversionWizard

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.NewCProjectWizard
              extended by org.eclipse.cdt.ui.wizards.conversion.ConversionWizard
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
Direct Known Subclasses:
ConvertToMakeProjectWizard, ConvertToMakeWizard

public abstract class ConversionWizard
extends NewCProjectWizard

ConversionWizard This wizard provides a method by which the user can change the nature of their projects. This class cannot be implemented. It is meant to be subclassed, with the subclasses providing the new labels, and pages.

Since:
Aug 8, 2002
Author:
Judy N. Green

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ConversionWizard()
          Conversion Wizard constructor
ConversionWizard(java.lang.String title, java.lang.String desc)
          Conversion Wizard constructor
 
Method Summary
abstract  void addPages()
          Method addPages allows subclasses to add as many pages as they need.
abstract  java.lang.String getProjectID()
          Return the type of project that it is being converted to The default if a make project
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection currentSelection)
           
 
Methods inherited from class org.eclipse.cdt.ui.wizards.NewCProjectWizard
getBuildSystemId, getNewProject, getProjectHandle, getRunnable, performFinish, setInitializationData
 
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
 

Constructor Detail

ConversionWizard

public ConversionWizard()
Conversion Wizard constructor


ConversionWizard

public ConversionWizard(java.lang.String title,
                        java.lang.String desc)
Conversion Wizard constructor

Parameters:
title -
desc -
Method Detail

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 NewCProjectWizard

getProjectID

public abstract java.lang.String getProjectID()
Return the type of project that it is being converted to The default if a make project

Specified by:
getProjectID in class NewCProjectWizard
Returns:
String

addPages

public abstract void addPages()
Method addPages allows subclasses to add as many pages as they need. Overwrite to create at least one conversion specific page.

i.e.

 
   mainPage = new ConvertToStdMakeProjectWizardPage(getPrefix());
   addPage(mainPage);

Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class NewCProjectWizard
See Also:
NewCProjectWizard.addPages()