FileDocCategorySizeDatePackage
SWTManager.javaAPI DocAzureus 3.0.3.43070Mon Sep 05 13:48:36 BST 2005org.gudy.azureus2.plugins.ui.SWT

SWTManager

public interface SWTManager
Evil SWT Specific stuff that plugins may need access to
author
TuxPaper
deprecated
use {@link org.gudy.azureus2.ui.swt.plugins.UISWTInstance}

Fields Summary
Constructors Summary
Methods Summary
public voidaddView(org.gudy.azureus2.plugins.PluginView view)
A Plugin might call this method to add a View to Azureus's views The View will be accessible from View > Plugins > View name

param
view The PluginView to be added
since
2.1.0.2

public voidaddView(org.gudy.azureus2.plugins.PluginView view, boolean autoOpen)
A Plugin might call this method to add a View to Azureus's views The View will be accessible from View > Plugins > View name

param
view The PluginView to be added
param
autoOpen Whether the plugin should auto-open at startup
since
2.1.0.2

public GraphicSWTcreateGraphic(org.eclipse.swt.graphics.Image img)
Creates an UIImageSWT object with the supplied SWT Image

param
img Image to assign to the object
return
a new UIImagetSWT object
since
2.1.0.0

public org.eclipse.swt.widgets.DisplaygetDisplay()
Retrieve the SWT Display object that Azureus uses (when in SWT mode). If you have a thread that does some periodic/asynchronous stuff, Azureus will crashes with and 'InvalidThreadAccess' exception unless you embed your calls in a Runnable, and use getDisplay().aSyncExec(Runnable r);

return
SWT Display object that Azureus uses
since
2.1.0.0