Methods Summary |
---|
public void | addColumnToMyTorrentsTable(java.lang.String columnName, org.gudy.azureus2.plugins.ui.tables.mytorrents.PluginMyTorrentsItemFactory factory)(DEPRECATED) Adds a column to the My Torrents table.
|
public void | addColumnToPeersTable(java.lang.String columnName, org.gudy.azureus2.plugins.ui.tables.peers.PluginPeerItemFactory factory)(DEPRECATED) Adds a column to the peers table.
|
public void | addConfigSection(org.gudy.azureus2.plugins.ui.config.ConfigSection section)adds a ConfigSection to the config view.
In contrast to addConfigUIParameters, this gives you total control over
a tab. Please be kind and use localizable text.
|
public void | addConfigUIParameters(org.gudy.azureus2.plugins.ui.config.Parameter[] parameters, java.lang.String displayName)adds a tab under the 'plugins' tab in the config view.
Use {@link #getPluginConfigUIFactory()} to get the
{@link PluginConfigUIFactory} class, from which you can create different
types of parameters.
|
public void | addEventListener(PluginEventListener l)
|
public void | addListener(PluginListener l)
|
public void | addView(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
|
public void | firePluginEvent(PluginEvent event)Fire a plugin-specific event. See PluginEvent for details of type values to use
|
public java.lang.String | getAzureusName()Retrieve the Application's name
|
public java.lang.String | getAzureusVersion()Retrieve the Application's version as a string.
|
public ClientIDManager | getClientIDManager()
|
public org.gudy.azureus2.plugins.ui.config.ConfigSection[] | getConfigSections()
|
public org.gudy.azureus2.plugins.network.ConnectionManager | getConnectionManager()Get the connection manager.
|
public org.gudy.azureus2.plugins.ddb.DistributedDatabase | getDistributedDatabase()Get the distributed database
|
public org.gudy.azureus2.plugins.download.DownloadManager | getDownloadManager()Gives access to the download manager
|
public org.gudy.azureus2.plugins.ipc.IPCInterface | getIPC()get the inter-plugin-communcations interface for this plugin
|
public org.gudy.azureus2.plugins.ipfilter.IPFilter | getIPFilter()Gives access to the IP filter
|
public org.gudy.azureus2.plugins.PluginInterface | getLocalPluginInterface(java.lang.Class plugin, java.lang.String id)Returns an initialised plugin instance with its own scope (e.g. for config params).
Designed for loading secondary plugins directly from a primary one.
Note - ensure that the bundled secondary plugins do *not* contain a plugin.properties as
this will cause no end of problems.
|
public org.gudy.azureus2.plugins.logging.Logger | getLogger()Gives access to the logger
|
public org.gudy.azureus2.plugins.messaging.MessageManager | getMessageManager()Get the peer messaging manager.
|
public org.gudy.azureus2.plugins.peers.protocol.PeerProtocolManager | getPeerProtocolManager()Gives access to the peer protocol manager
|
public org.gudy.azureus2.plugins.platform.PlatformManager | getPlatformManager()Gets the platform manager that gives access to native functionality
|
public Plugin | getPlugin()Gives access to the plugin itself
|
public java.lang.ClassLoader | getPluginClassLoader()gives access to the ClassLoader used to load the plugin
|
public org.gudy.azureus2.plugins.ui.config.PluginConfigUIFactory | getPluginConfigUIFactory()gives acess to the plugin Config UI Factory
|
public java.lang.String | getPluginDirectoryName()gives access to the plugin installation path
|
public java.lang.String | getPluginID()Returns an identifier used to identify this particular plugin
|
public PluginManager | getPluginManager()gives access to the plugin manager
|
public java.lang.String | getPluginName()Returns the value of plugin.name if it exists in the properties file, dirctory name otherwise
|
public java.util.Properties | getPluginProperties()gives access to the plugin properties
|
public java.lang.String | getPluginVersion()Returns the version number of the plugin it if can be deduced from either the name of
the jar file it is loaded from or the properties file. null otherwise
|
public PluginConfig | getPluginconfig()gives access to the plugin config interface
|
public org.gudy.azureus2.plugins.sharing.ShareManager | getShareManager()Gives access to the sharing functionality
|
public org.gudy.azureus2.plugins.utils.ShortCuts | getShortCuts()access to a set of convenience routines for doing things in a quicker, although less
structured, fashion
|
public org.gudy.azureus2.plugins.torrent.TorrentManager | getTorrentManager()Gives access to the torrent manager
|
public org.gudy.azureus2.plugins.tracker.Tracker | getTracker()Gives access to the tracker functionality
|
public UIManager | getUIManager()access to UI extension features
|
public org.gudy.azureus2.plugins.update.UpdateManager | getUpdateManager()access to the update manager used to update plugins. required for non-Azureus SF hosted
plugins (SF ones are managed automatically)
|
public org.gudy.azureus2.plugins.utils.Utilities | getUtilities()access to various utility functions
|
public boolean | isBuiltIn()Built-in plugins are those used internally by Azureus, for example the UPnP plugin
|
public boolean | isDisabled()
|
public boolean | isInitialisationThread()Indicates whether or not the current thread is the one responsible for running
plugin initialisation
|
public boolean | isMandatory()Whether or not this is a mandatory plugin. Mandatory plugins take priority over update checks, for example,
over optional ones.
|
public boolean | isOperational()If a plugin fails to load properly (i.e. the construction of the plugin object
fails) it is marked as non-operational (rather than not being present at all)
|
public boolean | isShared()
|
public boolean | isUnloadable()
|
public void | openTorrentFile(java.lang.String fileName)opens a torrent file given its name
|
public void | openTorrentURL(java.lang.String url)opens a torrent file given the url it's at
|
public void | reload()
|
public void | removeConfigSection(org.gudy.azureus2.plugins.ui.config.ConfigSection section)
|
public void | removeEventListener(PluginEventListener l)
|
public void | removeListener(PluginListener l)
|
public void | setDisabled(boolean disabled)
|
public void | uninstall()Uninstall this plugin if it has been loaded from a plugin directory. Deletes the
plugin directory
|
public void | unload()
|