public class OptionsDialog
extends org.eclipse.jface.dialogs.MessageDialog
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
choiceLabels |
protected java.lang.String |
discardChoiceLabel |
protected java.lang.String |
ignoreChoiceLabel |
protected java.util.Map<java.lang.String,java.lang.String> |
options |
protected java.lang.String |
processChoiceLabel |
protected java.lang.String |
reportChoiceLabel |
CONFIRM, ERROR, INFORMATION, NONE, QUESTION, QUESTION_WITH_CANCEL, WARNING
imageLabel, message, messageLabel
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
Constructor and Description |
---|
OptionsDialog(org.eclipse.swt.widgets.Shell parent,
java.lang.String title,
java.lang.String message,
java.util.Map<java.lang.String,java.lang.String> options) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Control |
createCustomArea(org.eclipse.swt.widgets.Composite parent) |
protected void |
createOptionArea(org.eclipse.swt.widgets.Composite parent,
java.lang.String text,
java.lang.String option,
java.lang.String[] choices,
java.lang.String initialChoice) |
protected void |
createOptionAreas(org.eclipse.swt.widgets.Composite parent) |
buttonPressed, configureShell, createButton, createButtonsForButtonBar, createDialogArea, customShouldTakeFocus, getButton, getButtonLabels, getDefaultButtonIndex, getImage, getMinimumMessageWidth, handleShellCloseEvent, open, open, open, openConfirm, openError, openInformation, openQuestion, openWarning, setButtonLabels, setButtons
createButtonBar, createContents, createDialogAndButtonArea, createMessageArea, getErrorImage, getInfoImage, getMessageLabelStyle, getQuestionImage, getWarningImage
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, dialogFontIsDefault, getBlockedHandler, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
protected final java.util.Map<java.lang.String,java.lang.String> options
protected final java.util.Map<java.lang.String,java.lang.String> choiceLabels
protected final java.lang.String discardChoiceLabel
protected final java.lang.String ignoreChoiceLabel
protected final java.lang.String processChoiceLabel
protected final java.lang.String reportChoiceLabel
public OptionsDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String title, java.lang.String message, java.util.Map<java.lang.String,java.lang.String> options)
protected void createOptionArea(org.eclipse.swt.widgets.Composite parent, java.lang.String text, java.lang.String option, java.lang.String[] choices, java.lang.String initialChoice)
protected void createOptionAreas(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Control createCustomArea(org.eclipse.swt.widgets.Composite parent)
createCustomArea
in class org.eclipse.jface.dialogs.MessageDialog