public abstract class AbstractNewFileWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard
| Modifier and Type | Field and Description |
|---|---|
protected NewFileWizardPage |
page |
| Constructor and Description |
|---|
AbstractNewFileWizard() |
AbstractNewFileWizard(NewFileWizardPage page) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPages()
Adding the page to the wizard.
|
protected String |
determineInitialContents()
We will initialize file contents with a sample text.
|
abstract String |
getDescription() |
abstract String |
getExtension() |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor() |
abstract String |
getTitle() |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
We will accept the selection in the workbench to see if
we can initialize from it.
|
boolean |
performFinish()
This method is called when 'Finish' button is pressed in
the 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, setWindowTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainerprotected NewFileWizardPage page
public AbstractNewFileWizard()
public AbstractNewFileWizard(NewFileWizardPage page)
public void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardaddPages in class org.eclipse.jface.wizard.Wizardpublic boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.Wizardprotected String determineInitialContents()
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
init in interface org.eclipse.ui.IWorkbenchWizardIWorkbenchWizard.init(IWorkbench, IStructuredSelection)public abstract String getTitle()
public abstract String getExtension()
public abstract String getDescription()
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
Copyright © 2016. All rights reserved.