Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.app.ui.swt
Class SwtDialog  view SwtDialog download SwtDialog.java

java.lang.Object
  extended bycom.barteo.emulator.app.ui.swt.SwtDialog
Direct Known Subclasses:
SwtInputDialog, SwtMessageDialog, SwtSelectDeviceDialog

public abstract class SwtDialog
extends java.lang.Object


Field Summary
private  boolean block
           
protected  org.eclipse.swt.widgets.Button btCancel
           
protected  org.eclipse.swt.widgets.Button btOk
           
protected  org.eclipse.swt.widgets.Control buttonBar
           
static int CANCEL
           
private  org.eclipse.swt.widgets.Control contents
           
protected  org.eclipse.swt.widgets.Control dialogArea
           
static int OK
           
private  org.eclipse.swt.widgets.Shell parentShell
           
private  boolean resizeHasOccurred
           
private  org.eclipse.swt.widgets.Listener resizeListener
           
private  int returnCode
           
private  org.eclipse.swt.widgets.Shell shell
           
private  int shellStyle
           
 
Constructor Summary
SwtDialog(org.eclipse.swt.widgets.Shell parentShell)
           
 
Method Summary
protected  void buttonPressed(int buttonId)
           
protected  void cancelPressed()
           
 boolean close()
           
protected  void configureShell(org.eclipse.swt.widgets.Shell newShell)
           
 void create()
           
protected  org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Shell createShell()
           
protected  org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize)
           
protected  org.eclipse.swt.graphics.Point getInitialSize()
           
protected  int getReturnCode()
           
 org.eclipse.swt.widgets.Shell getShell()
           
protected  org.eclipse.swt.events.ShellListener getShellListener()
           
protected  void initializeBounds()
           
protected  void okPressed()
           
 int open()
           
private  void runEventLoop(org.eclipse.swt.widgets.Shell shell)
           
protected  void setReturnCode(int code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SwtDialog

public SwtDialog(org.eclipse.swt.widgets.Shell parentShell)
Method Detail

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)