public static class NotifyDescriptor.Confirmation extends NotifyDescriptor
NotifyDescriptor.ComposedInput, NotifyDescriptor.Confirmation, NotifyDescriptor.Exception, NotifyDescriptor.InputLine, NotifyDescriptor.Message, NotifyDescriptor.PasswordLine, NotifyDescriptor.QuickPick
CANCEL_OPTION, CLOSED_OPTION, DEFAULT_OPTION, ERROR_MESSAGE, INFORMATION_MESSAGE, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, PLAIN_MESSAGE, PROP_DETAIL, PROP_ERROR_NOTIFICATION, PROP_INFO_NOTIFICATION, PROP_MESSAGE, PROP_MESSAGE_TYPE, PROP_NO_DEFAULT_CLOSE, PROP_OPTION_TYPE, PROP_OPTIONS, PROP_TITLE, PROP_VALID, PROP_VALUE, PROP_WARNING_NOTIFICATION, QUESTION_MESSAGE, WARNING_MESSAGE, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION
Constructor and Description |
---|
Confirmation(Object message)
Create a yes/no/cancel question with default title.
|
Confirmation(Object message,
int optionType)
Create a question with default title.
|
Confirmation(Object message,
int optionType,
int messageType)
Create a confirmation with default title.
|
Confirmation(Object message,
String title)
Create a yes/no/cancel question.
|
Confirmation(Object message,
String title,
int optionType)
Create a question.
|
Confirmation(Object message,
String title,
int optionType,
int messageType)
Create a confirmation.
|
addPropertyChangeListener, createNotificationLineSupport, firePropertyChange, getAdditionalOptions, getDefaultValue, getMessage, getMessageType, getNotificationLineSupport, getOptions, getOptionType, getTitle, getTitleForType, getValue, initialize, isNoDefaultClose, isValid, removePropertyChangeListener, setAdditionalOptions, setMessage, setMessageType, setNoDefaultClose, setOptions, setOptionType, setTitle, setValid, setValue
public Confirmation(Object message)
message
- the message objectNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public Confirmation(Object message, String title)
message
- the message objecttitle
- the dialog titleNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public Confirmation(Object message, int optionType)
message
- the message objectoptionType
- the type of options to display to the userNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public Confirmation(Object message, String title, int optionType)
message
- the message objecttitle
- the dialog titleoptionType
- the type of options to display to the userNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public Confirmation(Object message, int optionType, int messageType)
message
- the message objectoptionType
- the type of options to display to the usermessageType
- the type of message to useNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)
public Confirmation(Object message, String title, int optionType, int messageType)
message
- the message objecttitle
- the dialog titleoptionType
- the type of options to display to the usermessageType
- the type of message to useNotifyDescriptor.NotifyDescriptor(java.lang.Object, java.lang.String, int, int, java.lang.Object[], java.lang.Object)