org.gudy.azureus2.ui.swt.mainwindow
Class SWTThread
java.lang.Object
org.gudy.azureus2.ui.swt.mainwindow.SWTThread
public class SWTThread
- extends Object
The main SWT Thread, the only one that should run any GUI code.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
displayDispoed
protected boolean displayDispoed
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()