Package com.iizigo.text
Class NewTextTablesWizard
- java.lang.Object
- org.eclipse.jface.wizard.Wizard
- com.iizigo.text.NewTextTablesWizard
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider,org.eclipse.jface.wizard.IWizard,org.eclipse.ui.INewWizard,org.eclipse.ui.IWorkbenchWizard
public class NewTextTablesWizard extends org.eclipse.jface.wizard.Wizard implements org.eclipse.ui.INewWizardCreation of text tables that use translation engine and derives from a base table.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static java.lang.StringWIZARD_IDThe ID.
Constructor Summary
Constructors Constructor Description NewTextTablesWizard()Construction of wizard.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPages()Overridden to add the text tables creation page.voidinit(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)Initializes this creation wizard using the passed workbench and object selection.booleanperformFinish()Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted.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
Method Detail
init
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)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:
initin interfaceorg.eclipse.ui.IWorkbenchWizard- Parameters:
workbench- the current workbenchselection- the current object selection
addPages
public void addPages()
Overridden to add the text tables creation page.- Specified by:
addPagesin interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
addPagesin classorg.eclipse.jface.wizard.Wizard
performFinish
public boolean performFinish()
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:
performFinishin interfaceorg.eclipse.jface.wizard.IWizard- Specified by:
performFinishin classorg.eclipse.jface.wizard.Wizard