Java org.eclipse.jface.dialogs MessageDialogWithToggle fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.dialogs MessageDialogWithToggle fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.dialogs MessageDialogWithToggle.

The text is from its open source code.

Subclass

org.eclipse.jface.dialogs.MessageDialogWithToggle has subclasses.
Click this link to see all its subclasses.

Field

StringALWAYS
The value of the preference when the user has asked that the answer to the question always be "okay" or "yes".
StringNEVER
The value of the preference when the user has asked that the answer to the question always be "no".
StringPROMPT
The value of the preference when the user wishes to prompted for an answer every time the question is to be asked.

Constructor

Method

booleanclose()
voidcreate()
intgetReturnCode()
Returns this window's return code.
booleangetToggleState()
Returns the toggle state.
intopen()
Opens this window, creating it first if it has not yet been created.
MessageDialogWithToggleopen(int kind, Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key, int style)
Convenience method to open a simple dialog as specified by the kind flag, with a "don't show again' toggle.
MessageDialogWithToggleopenError(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key)
Convenience method to open a standard error dialog.
voidopenError(Shell parent, String title, String message)
Convenience method to open a standard error dialog.
MessageDialogWithToggleopenInformation(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key)
Convenience method to open a standard information dialog.
voidopenInformation(Shell parent, String title, String message)
Convenience method to open a standard information dialog.
MessageDialogWithToggleopenOkCancelConfirm(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key)
Convenience method to open a simple confirm (OK/Cancel) dialog.
MessageDialogWithToggleopenWarning(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key)
Convenience method to open a standard warning dialog.
voidopenWarning(Shell parent, String title, String message)
Convenience method to open a standard warning dialog.
MessageDialogWithToggleopenYesNoCancelQuestion(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key)
Convenience method to open a simple question Yes/No/Cancel dialog.
MessageDialogWithToggleopenYesNoQuestion(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key)
Convenience method to open a simple Yes/No question dialog.
voidsetBlockOnOpen(boolean shouldBlock)
Sets whether the open method should block until the window closes.
voidsetPrefKey(String prefKey)
A mutator for the key of the preference to be modified by the toggle button.
voidsetPrefStore(IPreferenceStore prefStore)
A mutator for the preference store to be modified by the toggle button.