java.lang.Object
com.barteo.emulator.app.ui.swt.SwtDialog
- Direct Known Subclasses:
- SwtInputDialog, SwtMessageDialog, SwtSelectDeviceDialog
- public abstract class SwtDialog
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final int OK
- See Also:
- Constant Field Values
CANCEL
public static final int CANCEL
- See Also:
- Constant Field Values
parentShell
private org.eclipse.swt.widgets.Shell parentShell
shell
private org.eclipse.swt.widgets.Shell shell
dialogArea
protected org.eclipse.swt.widgets.Control dialogArea
buttonBar
protected org.eclipse.swt.widgets.Control buttonBar
btOk
protected org.eclipse.swt.widgets.Button btOk
btCancel
protected org.eclipse.swt.widgets.Button btCancel
resizeHasOccurred
private boolean resizeHasOccurred
resizeListener
private org.eclipse.swt.widgets.Listener resizeListener
contents
private org.eclipse.swt.widgets.Control contents
shellStyle
private int shellStyle
block
private boolean block
returnCode
private int returnCode
SwtDialog
public SwtDialog(org.eclipse.swt.widgets.Shell parentShell)
create
public void create()
createShell
protected final org.eclipse.swt.widgets.Shell createShell()
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createButtonBar
protected org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent)
initializeBounds
protected void initializeBounds()
getInitialSize
protected org.eclipse.swt.graphics.Point getInitialSize()
getInitialLocation
protected org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize)
buttonPressed
protected void buttonPressed(int buttonId)
okPressed
protected void okPressed()
cancelPressed
protected void cancelPressed()
getReturnCode
protected int getReturnCode()
setReturnCode
protected void setReturnCode(int code)
getShellListener
protected org.eclipse.swt.events.ShellListener getShellListener()
close
public boolean close()
getShell
public org.eclipse.swt.widgets.Shell getShell()
open
public int open()
runEventLoop
private void runEventLoop(org.eclipse.swt.widgets.Shell shell)