|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.amp.escape.ide.AbstractFileWizard
public abstract class AbstractFileWizard
Abstract file wizard modified from oAW.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
AbstractFileWizard(java.lang.String fileTypeName,
java.lang.String fileExtension,
java.lang.String fileDescription)
Instantiates a new abstract file wizard. |
Method Summary | |
---|---|
void |
addPages()
Adding the page to the wizard. |
java.lang.String |
getFileExtension()
Gets the file extension. |
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. |
void |
setFileExtension(java.lang.String fileExtension)
Sets the file extension. |
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 |
---|
public AbstractFileWizard(java.lang.String fileTypeName, java.lang.String fileExtension, java.lang.String fileDescription)
fileTypeName
- the file type namefileExtension
- the file extensionfileDescription
- the file descriptionMethod Detail |
---|
public java.lang.String getFileExtension()
public void setFileExtension(java.lang.String fileExtension)
fileExtension
- the new file extensionpublic void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
init
in interface org.eclipse.ui.IWorkbenchWizard
workbench
- the workbenchselection
- the selectionIWorkbenchWizard.init(IWorkbench, IStructuredSelection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |