public class LinkedFolderWizard
extends org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
This class may be instantiated and used without further configuration; this class is not intended to be subclassed.
Example:
IWorkbenchWizard wizard = new BasicNewFolderResourceWizard(); 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 folder
resource at the user-specified workspace path is created, the dialog closes, and the call to open
returns.
Constructor and Description |
---|
LinkedFolderWizard()
Creates a wizard for creating a new folder resource in the workspace.
|
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection) |
protected void |
initializeDefaultPageImageDescriptor() |
boolean |
performFinish() |
getSelection, getWorkbench, selectAndReveal, selectAndReveal
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
public LinkedFolderWizard()
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection currentSelection)
init
in interface org.eclipse.ui.IWorkbenchWizard
init
in class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
protected void initializeDefaultPageImageDescriptor()
initializeDefaultPageImageDescriptor
in class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard