com.aptana.ide.core.ui.wizards
Class ExternalFolderImportWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by com.aptana.ide.core.ui.wizards.ExternalFolderImportWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IImportWizard, org.eclipse.ui.IWorkbenchWizard

public class ExternalFolderImportWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.IImportWizard

Standard workbench wizard for importing projects defined outside of the currently defined projects into Eclipse.

This class may be instantiated and used without further configuration; this class is not intended to be subclassed.

Example:

 IWizard wizard = new ExternalProjectImportWizard();
 wizard.init(workbench, selection);
 WizardDialog dialog = new WizardDialog(shell, wizard);
 dialog.open();
 
During the call to open, the wizard dialog is presented to the user. When the user hits Finish, a project is created with the location specified by the user.


Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ExternalFolderImportWizard()
          Constructor for ExternalProjectImportWizard.
ExternalFolderImportWizard(java.lang.String initialPage)
          Constructor for ExternalProjectImportWizard.
 
Method Summary
 void addPages()
           
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection currentSelection)
           
 boolean performCancel()
           
 boolean performFinish()
           
 
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, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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, setContainer
 

Constructor Detail

ExternalFolderImportWizard

public ExternalFolderImportWizard()
Constructor for ExternalProjectImportWizard.


ExternalFolderImportWizard

public ExternalFolderImportWizard(java.lang.String initialPage)
Constructor for ExternalProjectImportWizard.

Parameters:
initialPage -
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
See Also:
IWizard.addPages()

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection currentSelection)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard
See Also:
IWorkbenchWizard.init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)

performCancel

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

performFinish

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