public abstract class AbstractWizardPage
extends org.eclipse.jface.wizard.WizardPage
implements org.eclipse.jface.wizard.IWizardPage
Modifier | Constructor and Description |
---|---|
protected |
AbstractWizardPage(java.lang.String pageName) |
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected void |
createSeparator(org.eclipse.swt.widgets.Composite composite,
int nbCol)
Creates a separator line.
|
protected abstract org.eclipse.swt.widgets.Control |
doCreateControl(org.eclipse.swt.widgets.Composite parent) |
protected abstract java.lang.String |
doGetDescription() |
protected abstract java.lang.String |
doGetTitle() |
protected abstract boolean |
doIsPageComplete() |
protected abstract org.eclipse.core.runtime.IStatus |
doValidateRules() |
void |
finish()
Called when the wizard is closed by selecting the finish button.
|
protected int |
getMaxFieldWidth()
Returns the recommended maximum width for text fields (in pixels).
|
boolean |
isPageComplete() |
protected void |
updateStatus(org.eclipse.core.runtime.IStatus status) |
protected org.eclipse.core.runtime.IStatus |
validateRules() |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected AbstractWizardPage(java.lang.String pageName)
pageName
- public final void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
public final boolean isPageComplete()
isPageComplete
in interface org.eclipse.jface.wizard.IWizardPage
isPageComplete
in class org.eclipse.jface.wizard.WizardPage
protected abstract org.eclipse.swt.widgets.Control doCreateControl(org.eclipse.swt.widgets.Composite parent)
protected abstract java.lang.String doGetDescription() throws java.util.MissingResourceException
java.util.MissingResourceException
protected abstract java.lang.String doGetTitle() throws java.util.MissingResourceException
java.util.MissingResourceException
protected abstract boolean doIsPageComplete()
protected abstract org.eclipse.core.runtime.IStatus doValidateRules()
protected final void updateStatus(org.eclipse.core.runtime.IStatus status)
protected final org.eclipse.core.runtime.IStatus validateRules()
protected int getMaxFieldWidth()
protected final void createSeparator(org.eclipse.swt.widgets.Composite composite, int nbCol)
GridLayout
with at least 1 column.composite
- The parent compositenbCol
- Number of columns to spanpublic void finish()