java.lang.Object
com.barteo.emulator.app.ui.swt.SwtDialog
com.barteo.emulator.app.ui.swt.SwtMessageDialog
- public class SwtMessageDialog
- extends SwtDialog
| Methods inherited from class com.barteo.emulator.app.ui.swt.SwtDialog |
cancelPressed, close, create, createContents, createShell, getInitialLocation, getInitialSize, getReturnCode, getShell, getShellListener, initializeBounds, okPressed, open, setReturnCode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
INFORMATION
public static final int INFORMATION
- See Also:
- Constant Field Values
QUESTION
public static final int QUESTION
- See Also:
- Constant Field Values
title
private java.lang.String title
message
private java.lang.String message
buttonLabels
private java.lang.String[] buttonLabels
defaultIndex
private int defaultIndex
SwtMessageDialog
public SwtMessageDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String title,
java.lang.String message,
int imageType,
java.lang.String[] buttonLabels,
int defaultIndex)
openError
public static void openError(org.eclipse.swt.widgets.Shell parent,
java.lang.String title,
java.lang.String message)
openInformation
public static void openInformation(org.eclipse.swt.widgets.Shell parent,
java.lang.String title,
java.lang.String message)
openQuestion
public static boolean openQuestion(org.eclipse.swt.widgets.Shell parent,
java.lang.String title,
java.lang.String message)
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
- Overrides:
configureShell in class SwtDialog
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite composite)
- Overrides:
createDialogArea in class SwtDialog
createButtonBar
protected org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createButtonBar in class SwtDialog
buttonPressed
protected void buttonPressed(int buttonId)
- Overrides:
buttonPressed in class SwtDialog