fable.gui.dialog
Class ConfirmationDialog

java.lang.Object
  extended by Dialog
      extended by 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
 

Constructor Detail

ConfirmationDialog

public ConfirmationDialog(Shell parent,
                          java.lang.String title,
                          java.lang.String message)
Method Detail

showConfirmationDialog

public static boolean showConfirmationDialog(Shell parent,
                                             java.lang.String title,
                                             java.lang.String message)