public class SaveDirtyFilesDialog
extends org.eclipse.ui.dialogs.ListDialog
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SaveDirtyFilesDialog.ListContentProvider
A specialized content provider to show a list of editor parts.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_MODIFIED_RESOURCES_MUST_BE_SAVED_BEFORE_THIS_OPERATION |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, 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
Constructor and Description |
---|
SaveDirtyFilesDialog(org.eclipse.swt.widgets.Shell parent) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite container) |
private org.eclipse.jface.viewers.ILabelProvider |
createDialogLabelProvider() |
private static org.eclipse.ui.IEditorPart[] |
getDirtyEditors(java.lang.String mask) |
static boolean |
saveDirtyFiles(java.lang.String mask) |
createButtonsForButtonBar, getHeightInChars, getTableStyle, getTableViewer, getWidthInChars, okPressed, setAddCancelButton, setContentProvider, setHeightInChars, setInput, setLabelProvider, setWidthInChars
configureShell, createMessageArea, getDialogBoundsSettings, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, getResult, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setResult, setSelectionResult, setTitle
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public static final java.lang.String ALL_MODIFIED_RESOURCES_MUST_BE_SAVED_BEFORE_THIS_OPERATION
public SaveDirtyFilesDialog(org.eclipse.swt.widgets.Shell parent)
public static boolean saveDirtyFiles(java.lang.String mask)
private static org.eclipse.ui.IEditorPart[] getDirtyEditors(java.lang.String mask)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite container)
createDialogArea
in class org.eclipse.ui.dialogs.ListDialog
private org.eclipse.jface.viewers.ILabelProvider createDialogLabelProvider()