fable.gui.dialog
Class ConfirmationDialog
java.lang.Object
Dialog
fable.gui.dialog.ConfirmationDialog
public class ConfirmationDialog
- extends Dialog
This dialog box confirms asks the user to confirm a certain event, prompting a
"yes" response before proceeding. It is used to warn user before a critical
and irrevocable action.
- Author:
- Weijie Yuan
Constructor Summary |
ConfirmationDialog(Shell parent,
java.lang.String title,
java.lang.String message)
|
Method Summary |
static boolean |
showConfirmationDialog(Shell parent,
java.lang.String title,
java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfirmationDialog
public ConfirmationDialog(Shell parent,
java.lang.String title,
java.lang.String message)
showConfirmationDialog
public static boolean showConfirmationDialog(Shell parent,
java.lang.String title,
java.lang.String message)