java.lang.Object
org.eclipse.jface.wizard.Wizard
com.vinculum.processeditor.wizards.StandardProcess
- All Implemented Interfaces:
- org.eclipse.ui.INewWizard, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IWorkbenchWizard
- public class StandardProcess
- extends org.eclipse.jface.wizard.Wizard
- implements org.eclipse.ui.INewWizard
This is a sample new wizard. Its role is to create a new file
resource in the provided container. If the container resource
(a folder or a project) is selected in the workspace
when the wizard is opened, it will accept it as the target
container. The wizard creates one file with the extension
"vpd". If a sample multi-page editor (also available
as a template) is registered for the same extension, it will
be able to open it.
| 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 |
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, performCancel, setContainer |
processPage
private VCMpageOne processPage
selection
private org.eclipse.jface.viewers.IStructuredSelection selection
workbench
private org.eclipse.ui.IWorkbench workbench
StandardProcess
public StandardProcess()
addPages
public void addPages()
- Description copied from interface:
org.eclipse.jface.wizard.IWizard
- Adds any last-minute pages to this wizard.
This method is called just before the wizard becomes visible, to give the
wizard the opportunity to add any lazily created pages.
- Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
init
public void init(org.eclipse.ui.IWorkbench aWorkbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection)
- Description copied from interface:
org.eclipse.ui.IWorkbenchWizard
- Initializes this creation wizard using the passed workbench and
object selection.
This method is called after the no argument constructor and
before other methods are called.
- Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard
performFinish
public boolean performFinish()
- Description copied from interface:
org.eclipse.jface.wizard.IWizard
- Performs any actions appropriate in response to the user
having pressed the Finish button, or refuse if finishing
now is not permitted.
Normally this method is only called on the container's
current wizard. However if the current wizard is a nested wizard
this method will also be called on all wizards in its parent chain.
Such parents may use this notification to save state etc. However,
the value the parents return from this method is ignored.
- Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard