com.ibm.carma.ui.dialog
Class ConfirmForceMessageDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.IconAndMessageDialog
              extended by org.eclipse.jface.dialogs.MessageDialog
                  extended by com.ibm.carma.ui.dialog.ConfirmForceMessageDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class ConfirmForceMessageDialog
extends org.eclipse.jface.dialogs.MessageDialog

Dialog for querying the user if a delete operation should be forced. The results from the dialog will YES/NO as per MessageDialog norms.

This Class is not intended to be subclassed, but may be instantiated.

Since:
7.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class org.eclipse.jface.dialogs.MessageDialog
ERROR, INFORMATION, NONE, QUESTION, WARNING
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
ConfirmForceMessageDialog(org.eclipse.swt.widgets.Shell parentShell, java.lang.String errorMessage, java.lang.String queryKey, CARMAResource resource)
           
 
Method Summary
 
Methods inherited from class org.eclipse.jface.dialogs.MessageDialog
getImage, openConfirm, openError, openInformation, openQuestion, openWarning
 
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
getErrorImage, getInfoImage, getQuestionImage, getWarningImage
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ConfirmForceMessageDialog

public ConfirmForceMessageDialog(org.eclipse.swt.widgets.Shell parentShell,
                                 java.lang.String errorMessage,
                                 java.lang.String queryKey,
                                 CARMAResource resource)
Parameters:
parentShell - shell the dialog should be opened against
errorMessage - the error message that should be bypassed to issue the force delete
queryKey - the message lookup key for the message to be displayed to the user
resource - the CARMA resource that the delete is issued against.