The Robot Application Programming Interface Delegate Project
|
the JFace MessageDialogWithToggle is useless because it doesn't honor platform button ordering. More...
Public Member Functions | |
PoliteMessageDialog (Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, int dialogImageType, String[] dialogButtonLabels, int defaultIndex) | |
int | open () |
boolean | getDontAskValue () |
Static Public Member Functions | |
static boolean | openConfirmDialog (final String title, final String message, String key) |
Protected Member Functions | |
Control | createCustomArea (Composite parent) |
Protected Attributes | |
Button | dontAskBut |
boolean | dontAskValue = false |
So, we create our own with analogous, yet more convenient, behavior.
PoliteMessageDialog | ( | Shell | parentShell, |
String | dialogTitle, | ||
Image | dialogTitleImage, | ||
String | dialogMessage, | ||
int | dialogImageType, | ||
String[] | dialogButtonLabels, | ||
int | defaultIndex | ||
) |
Control createCustomArea | ( | Composite | parent | ) | [protected] |
boolean getDontAskValue | ( | ) |
int open | ( | ) |
static boolean openConfirmDialog | ( | final String | title, |
final String | message, | ||
String | key | ||
) | [static] |
Button dontAskBut [protected] |
boolean dontAskValue = false [protected] |