public interface PluginAccess extends Marker
Contains all operations that may be called on a plugin from another plugin.
Modifier and Type | Method and Description |
---|---|
boolean |
canReceivePrograms()
Gets whether the plugin supports receiving programs from other plugins.
|
boolean |
canUseProgramTree() |
ActionMenu |
getContextMenuActions(Program program)
Gets the actions for the context menu of a program.
|
String |
getId()
Gets the ID of this plugin.
|
PluginInfo |
getInfo()
Gets the meta information about the plugin.
|
Icon |
getMarkIcon()
Gets the icon to use for marking programs in the program table.
|
Icon[] |
getProgramTableIcons(Program program)
Gets the icons this Plugin provides for the given program.
|
String |
getProgramTableIconText()
Gets the description text for the program table icons provided by this
Plugin.
|
PluginTreeNode |
getRootNode() |
void |
receivePrograms(Program[] programArr)
Receives a list of programs from another plugin.
|
String getId()
PluginInfo getInfo()
boolean canReceivePrograms()
receivePrograms(Program[])
void receivePrograms(Program[] programArr)
programArr
- The programs passed from the other plugin.canReceivePrograms()
ActionMenu getContextMenuActions(Program program)
program
- The program the context menu will be shown for.null
if the plugin does not provide this feature.String getProgramTableIconText()
Return null
if your plugin does not provide this feature.
null
if the plugin does not provide this feature.getProgramTableIcons(Program)
Icon[] getProgramTableIcons(Program program)
Return null
if your plugin does not provide this feature.
program
- The programs to get the icons for.null
.getProgramTableIconText()
Icon getMarkIcon()
getMarkIcon
in interface Marker
boolean canUseProgramTree()
PluginTreeNode getRootNode()
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)