Class LoginOptionsWizardDialog
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
com.developer.nefarious.zjoule.plugin.login.LoginOptionsWizardDialog
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IPageChangeProvider
,org.eclipse.jface.operation.IRunnableContext
,org.eclipse.jface.window.IShellProvider
,org.eclipse.jface.wizard.IWizardContainer
,org.eclipse.jface.wizard.IWizardContainer2
public class LoginOptionsWizardDialog
extends org.eclipse.jface.wizard.WizardDialog
A custom wizard dialog for handling login options.
The LoginOptionsWizardDialog
extends WizardDialog
to present
a wizard-based interface for user login options. It customizes the finish
button text to display "Select" instead of the default label.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.wizard.WizardDialog
org.eclipse.jface.wizard.WizardDialog.PageContainerFillLayout
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
-
Field Summary
Fields inherited from class org.eclipse.jface.wizard.WizardDialog
WIZ_IMG_ERROR
Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
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, resizeHasOccurred
-
Constructor Summary
ConstructorsConstructorDescriptionLoginOptionsWizardDialog
(org.eclipse.swt.widgets.Shell parentShell, LoginWizard wizard) Constructs aLoginOptionsWizardDialog
with the specified parent shell and wizard. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Updates the dialog buttons, modifying the finish button text to "Select".Methods inherited from class org.eclipse.jface.wizard.WizardDialog
addPageChangedListener, addPageChangingListener, backPressed, buttonPressed, cancelPressed, close, configureShell, createButtonsForButtonBar, createContents, createDialogArea, createProgressMonitorPart, finishPressed, firePageChanged, firePageChanging, getButton, getCurrentPage, getDialogBoundsSettings, getProgressMonitor, getSelectedPage, getShellStyle, getWizard, helpPressed, isModal, nextPressed, removePageChangedListener, removePageChangingListener, run, setButtonLayoutData, setMinimumPageSize, setMinimumPageSize, setModal, setPageSize, setPageSize, setShellStyle, setWizard, showPage, update, updateMessage, updateSize, updateSize, updateTitleBar, updateWindowTitle
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
getErrorMessage, getInitialSize, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
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, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutFormData, shortenText
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setWindowManager
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.IWizardContainer
getShell
-
Constructor Details
-
LoginOptionsWizardDialog
Constructs aLoginOptionsWizardDialog
with the specified parent shell and wizard.- Parameters:
parentShell
- the parentShell
for the wizard dialog.wizard
- theLoginWizard
instance associated with this dialog.
-
-
Method Details
-
updateButtons
public void updateButtons()Updates the dialog buttons, modifying the finish button text to "Select".This override ensures that the finish button is labeled appropriately for selecting login options instead of completing a traditional wizard flow.
- Specified by:
updateButtons
in interfaceorg.eclipse.jface.wizard.IWizardContainer
- Overrides:
updateButtons
in classorg.eclipse.jface.wizard.WizardDialog
-