net.sourceforge.java.feednread.frontend.wizard
Class WizardDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.dialogs.TitleAreaDialog
org.eclipse.jface.wizard.WizardDialog
net.sourceforge.java.feednread.frontend.wizard.WizardDialog
- All Implemented Interfaces:
- IPageChangeProvider, IRunnableContext, IShellProvider, IWizardContainer, IWizardContainer2
- public class WizardDialog
- extends WizardDialog
Extends the default JFace WizardDialog to support changes to
the default LanguageResource at runtime.
- Author:
- Sebastian Machhausen
| Fields inherited from class org.eclipse.jface.dialogs.TrayDialog |
|
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
| Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
|
Constructor Summary |
WizardDialog(Shell parentShell,
IWizard newWizard)
Creates a new WizardDialog for the given
IWizard.
|
| Methods inherited from class org.eclipse.jface.wizard.WizardDialog |
addPageChangedListener, backPressed, buttonPressed, cancelPressed, close, configureShell, createContents, createDialogArea, createProgressMonitorPart, finishPressed, firePageChanged, getButton, getCurrentPage, getProgressMonitor, getSelectedPage, getWizard, helpPressed, nextPressed, removePageChangedListener, run, setMinimumPageSize, setMinimumPageSize, setPageSize, setPageSize, setWizard, showPage, update, updateButtons, updateMessage, updateSize, updateSize, updateTitleBar, updateWindowTitle |
| Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
| Methods inherited from class org.eclipse.jface.window.Window |
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WizardDialog
public WizardDialog(Shell parentShell,
IWizard newWizard)
Creates a new WizardDialog for the given
IWizard.
- Parameters:
parentShell - the parent ShellnewWizard - the IWizard this
WizardDialog is working on
createButtonsForButtonBar
protected void createButtonsForButtonBar(Composite parent)
Creates the buttons for this WizardDialog's
Button bar. Changes the Button labels to
the texts provided by the default LanguagResource.
Supplementally augments the Buttons with default
Image icons.
- Parameters:
parent - the parent Composite to contain the
Buttons