public class MessageDialogWithTextArea
extends org.eclipse.jface.dialogs.MessageDialog
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 |
---|
MessageDialogWithTextArea(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
org.eclipse.swt.graphics.Image image,
java.lang.String message,
int type,
java.lang.String[] labels,
int index) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Control |
createCustomArea(org.eclipse.swt.widgets.Composite parent) |
java.lang.String |
getText() |
protected boolean |
isResizable() |
static MessageDialogWithTextArea |
open(int kind,
org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.String text,
int style) |
static MessageDialogWithTextArea |
openError(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.String text) |
static MessageDialogWithTextArea |
openInformation(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.String text) |
static MessageDialogWithTextArea |
openOkCancelConfirm(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.String text) |
static MessageDialogWithTextArea |
openWarning(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.String text) |
static MessageDialogWithTextArea |
openYesNoCancelQuestion(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.String text) |
static MessageDialogWithTextArea |
openYesNoQuestion(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.String text) |
void |
setText(java.lang.String text) |
buttonPressed, configureShell, createButton, createButtonsForButtonBar, createDialogArea, customShouldTakeFocus, getButton, getButtonLabels, getDefaultButtonIndex, getImage, getMinimumMessageWidth, handleShellCloseEvent, 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, 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
public MessageDialogWithTextArea(org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, @Nullable org.eclipse.swt.graphics.Image image, java.lang.String message, int type, java.lang.String[] labels, int index)
public static MessageDialogWithTextArea open(int kind, org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, java.lang.String message, java.lang.String text, int style)
public static MessageDialogWithTextArea openError(org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, java.lang.String message, java.lang.String text)
public static MessageDialogWithTextArea openInformation(org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, java.lang.String message, java.lang.String text)
public static MessageDialogWithTextArea openOkCancelConfirm(org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, java.lang.String message, java.lang.String text)
public static MessageDialogWithTextArea openWarning(org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, java.lang.String message, java.lang.String text)
public static MessageDialogWithTextArea openYesNoCancelQuestion(org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, java.lang.String message, java.lang.String text)
public static MessageDialogWithTextArea openYesNoQuestion(org.eclipse.swt.widgets.Shell shell, @Nullable java.lang.String title, java.lang.String message, java.lang.String text)
protected org.eclipse.swt.widgets.Control createCustomArea(org.eclipse.swt.widgets.Composite parent)
createCustomArea
in class org.eclipse.jface.dialogs.MessageDialog
public void setText(java.lang.String text)
public java.lang.String getText()
protected boolean isResizable()
isResizable
in class org.eclipse.jface.dialogs.Dialog