public class DirtyEditorDialog
extends Dialog
Constructor and Description |
---|
DirtyEditorDialog(Shell parentShell)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
close() |
void |
create()
Sets the dialog title and image.
|
protected Control |
createButtonBar(Composite parent)
The lables of the "OK" and "Cancel" buttons are switched
to "Yes" and "No".
|
protected Control |
createDialogArea(Composite parent) |
boolean |
isMakePermanent() |
boolean |
isNoAskingAnymore() |
public DirtyEditorDialog(Shell parentShell)
parentShell
- The parent shell for this modal dialog.public void create()
org.eclipse.jface.dialogs.Dialog#create()
protected Control createDialogArea(Composite parent)
org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
protected Control createButtonBar(Composite parent)
org.eclipse.jface.dialogs.Dialog#createButtonBar(org.eclipse.swt.widgets.Composite)
public boolean close()
org.eclipse.jface.dialogs.Dialog#close()
public boolean isNoAskingAnymore()
btnNoAskAnymore button
after closing the dialog.public boolean isMakePermanent()
btnMakePermanent button
after closing the dialog.