public static final class NotifyDescriptor.QuickPick extends NotifyDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
NotifyDescriptor.QuickPick.Item
Item that can be selected from a list of items.
|
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 |
---|
QuickPick(String text,
String title,
List<NotifyDescriptor.QuickPick.Item> items,
boolean multipleSelection)
Construct dialog with the specified title and label text.
|
Modifier and Type | Method and Description |
---|---|
List<NotifyDescriptor.QuickPick.Item> |
getItems()
Get the list of selection items.
|
String |
getLabel()
Get label text.
|
Object |
getMessage()
Get the message object.
|
boolean |
isMultipleSelection()
Check if the picker accepts multiple selections.
|
addPropertyChangeListener, createNotificationLineSupport, firePropertyChange, getAdditionalOptions, getDefaultValue, getMessageType, getNotificationLineSupport, getOptions, getOptionType, getTitle, getTitleForType, getValue, initialize, isNoDefaultClose, isValid, removePropertyChangeListener, setAdditionalOptions, setMessage, setMessageType, setNoDefaultClose, setOptions, setOptionType, setTitle, setValid, setValue
public QuickPick(String text, String title, List<NotifyDescriptor.QuickPick.Item> items, boolean multipleSelection)
text
- label texttitle
- title of the dialogitems
- a list of itemsmultipleSelection
- true if multiple selection allowedpublic Object getMessage()
NotifyDescriptor
getMessage
in class NotifyDescriptor
Object
that is to be reportedNotifyDescriptor.setMessage(java.lang.Object)
public String getLabel()
public List<NotifyDescriptor.QuickPick.Item> getItems()
public boolean isMultipleSelection()