FileDocCategorySizeDatePackage
UIManager.javaAPI DocAzureus 3.0.3.46583Mon Feb 26 13:53:52 GMT 2007org.gudy.azureus2.plugins.ui

UIManager

public interface UIManager
Management tools for the User Inferface
author
parg

Fields Summary
Constructors Summary
Methods Summary
public voidaddUIEventListener(UIManagerEventListener listener)

param
listener
since
2.3.0.5

public voidaddUIListener(UIManagerListener listener)

param
listener
since
2.3.0.5

public voidattachUI(UIInstanceFactory factory)
attach a new UI

param
factory
throws
UIException
since
2.3.0.5

public voidcopyToClipBoard(java.lang.String data)

param
data
throws
UIException
since
2.1.0.0

public BasicPluginConfigModelcreateBasicPluginConfigModel(java.lang.String section_name)

param
section_name
return
BasicPluginConfigModel
since
2.1.0.0

public BasicPluginConfigModelcreateBasicPluginConfigModel(java.lang.String parent_section, java.lang.String section_name)
Creates a basic plugin view model and adds it to the plugin in one step.

param
parent_section
param
section_name see {@link org.gudy.azureus2.plugins.ui.config.ConfigSection}.SECTION_*
return
BasicPluginConfigModel
since
2.1.0.0

public BasicPluginViewModelcreateBasicPluginViewModel(java.lang.String name)
Creates a basic plugin view model and adds it to the plugin in one step. view is placed inside the plugins section of the configuration page.

param
name
return
BasicPluginViewModel
since
2.1.0.2

public org.gudy.azureus2.plugins.PluginViewcreatePluginView(PluginViewModel model)
Creates a view from the model. It is then necessary to add it to the plugin as any other PluginView

param
model
return
PluginView
deprecated
Use createBasicPluginViewModel

public voiddetachUI(UIInstanceFactory factory)
detach a UI - can fail if the UI doesn't support detaching

param
factory
throws
UIException
since
2.3.0.5

public BasicPluginViewModelgetBasicPluginViewModel(java.lang.String name)
Gets a basic plugin view model that supports simple plugin requirements After getting the model create the view using createPluginView

param
name name
return
BasicPluginViewModel
deprecated
Use createBasicPluginViewModel

public org.gudy.azureus2.plugins.ui.menus.MenuManagergetMenuManager()
Retrieve the menu manager.

return
Menu management functions
since
3.0.0.7

public PluginConfigModel[]getPluginConfigModels()

return
since
2.5.0.1

public org.gudy.azureus2.plugins.ui.SWT.SWTManagergetSWTManager()
Retrieve a class of SWT specific functions

deprecated
return
SWTManager
since
2.1.0.0

public org.gudy.azureus2.plugins.ui.tables.TableManagergetTableManager()
Retrieve the Table Manager

return
Table management functions
since
2.1.0.0

public UIInstance[]getUIInstances()
Returns an array of all currently attached user interfaces. Note that this value may change over time, and that at the point when a plugin is being initialised, there is no guarantee over whether if the user interfaces will have been created yet or not. If you want to monitor what user interfaces are being attached / detached from Azureus, you should add a UIListener to this object.

since
3.0.0.7

public booleanhasUIInstances()
Returns true if there any user interfaces currently attached to Azureus. Note that this value may change over time, and that at the point when a plugin is being initialised, there is no guarantee over whether if the user interfaces will have been created yet or not. If you want to monitor what user interfaces are being attached / detached from Azureus, you should add a UIListener to this object.

since
3.0.0.7

public voidopenURL(java.net.URL url)

since
2.3.0.6
param
url

public voidremoveUIEventListener(UIManagerEventListener listener)

param
listener
since
2.3.0.5

public voidremoveUIListener(UIManagerListener listener)

param
listener
since
2.3.0.5

public booleanshowConfigSection(java.lang.String sectionID)
Open Config View to the section specified

param
sectionID ID of section to open to. {@link org.gudy.azureus2.plugins.ui.config.ConfigSection}.SECTION_* constants
return
true-Section opened; false-Section invalid or UI does not support config views
since
2.3.0.7

public voidshowTextMessage(java.lang.String title_resource, java.lang.String message_resource, java.lang.String contents)

param
title_resource
param
message_resource
param
contents
since
2.3.0.5