org.gudy.azureus2.ui.swt.mainwindow
Class SWTThread

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.mainwindow.SWTThread

public class SWTThread
extends java.lang.Object

The main SWT Thread, the only one that should run any GUI code.


Field Summary
protected  boolean displayDispoed
           
 
Method Summary
static void createInstance(IUIIntializer initializer)
           
 org.eclipse.swt.widgets.Display getDisplay()
           
 IUIIntializer getInitializer()
           
static SWTThread getInstance()
           
 org.eclipse.swt.widgets.Monitor getPrimaryMonitor()
           
 boolean isRetinaDisplay()
           
 boolean isTerminated()
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayDispoed

protected boolean displayDispoed
Method Detail

getInstance

public static SWTThread getInstance()

createInstance

public static void createInstance(IUIIntializer initializer)
                           throws SWTThreadAlreadyInstanciatedException
Throws:
SWTThreadAlreadyInstanciatedException

terminate

public void terminate()

getDisplay

public org.eclipse.swt.widgets.Display getDisplay()

isTerminated

public boolean isTerminated()

getInitializer

public IUIIntializer getInitializer()

getPrimaryMonitor

public org.eclipse.swt.widgets.Monitor getPrimaryMonitor()

isRetinaDisplay

public boolean isRetinaDisplay()