jack.plugin.edit
Class SaveMessageDialog

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.dialogs.Dialog
          extended byorg.eclipse.jface.dialogs.IconAndMessageDialog
              extended byorg.eclipse.jface.dialogs.MessageDialog
                  extended byjack.plugin.edit.SaveMessageDialog

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

Dialog that indicates that some files need to be saved before an action could occur.

Author:
L. Burdy

Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
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, DLG_IMG_ERROR, 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
 
Method Summary
 int getReturnCode()
           
static boolean saveModifiedRessources(org.eclipse.ui.IWorkbenchPart activePart, java.lang.String action, java.lang.String key)
           
 
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, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setExceptionHandler, setWindowManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

saveModifiedRessources

public static boolean saveModifiedRessources(org.eclipse.ui.IWorkbenchPart activePart,
                                             java.lang.String action,
                                             java.lang.String key)

getReturnCode

public int getReturnCode()