public class BlogThisPlugin extends Plugin
Modifier and Type | Field and Description |
---|---|
static String |
B2EVOLUTION |
static String |
BLOGGER
Service Names
|
static String |
DEFAULT_CONTENT |
static String |
DEFAULT_TITLE
Default Text
|
static String |
URL_B2EVOLUTION |
static String |
URL_WORDPRESS
Default URLs
|
static String |
WORDPRESS |
Constructor and Description |
---|
BlogThisPlugin() |
Modifier and Type | Method and Description |
---|---|
ActionMenu |
getContextMenuActions(Program program)
Gets the actions for the context menu of a program.
|
PluginInfo |
getInfo()
Gets the meta information about the plugin.
|
SettingsTab |
getSettingsTab()
Gets the SettingsTab object, which is added to the settings-window.
|
static Version |
getVersion() |
void |
loadSettings(Properties settings)
Called by the host-application during start-up.
|
Properties |
storeSettings()
Called by the host-application during shut-down.
|
canReceivePrograms, canUseProgramTree, createImageIcon, createImageIcon, createImageIcon, execute, execute, execute, getButtonAction, getButtonIconName, getButtonText, getContextMenuItemText, getId, getJarFile, getMarkIcon, getMarkIconFromTheme, getMarkIconName, getParentFrame, getPluginManager, getProgramFromContextMenuActionEvent, getProgramTableIcons, getProgramTableIconText, getRootNode, handleTvBrowserStartFinished, handleTvDataAdded, handleTvDataChanged, handleTvDataChanged, handleTvDataDeleted, handleTvDataUpdateFinished, onActivation, onDeactivation, readData, receivePrograms, setJarFile, setParent, setPluginManager, storeRootNode, supportMultipleProgramExecution, toString, writeData
public static final String DEFAULT_TITLE
public static final String DEFAULT_CONTENT
public static final String URL_WORDPRESS
public static final String URL_B2EVOLUTION
public static final String BLOGGER
public static final String WORDPRESS
public static final String B2EVOLUTION
public static Version getVersion()
public PluginInfo getInfo()
Plugin
Override this method to provide information about your plugin.
public ActionMenu getContextMenuActions(Program program)
Plugin
Override this method to provide context menu items for programs (e.g. in the program table).
The following action values will be used:
Action.NAME
: The text for the context menu item.Action.SMALL_ICON
: The icon for the context menu item.
Should be 16x16.getContextMenuActions
in interface ContextMenuIf
getContextMenuActions
in class Plugin
program
- The program the context menu will be shown for.null
if the plugin does not provide this feature.Plugin.getProgramFromContextMenuActionEvent(ActionEvent)
public SettingsTab getSettingsTab()
Plugin
Override this method to provide a seetings tab. The settings tab will be shown in the settings dialog in the plugin section.
getSettingsTab
in class Plugin
null
if the plugin does not
provide this feature.public void loadSettings(Properties settings)
Plugin
Override this method to load your plugins settings from the file system.
loadSettings
in class Plugin
settings
- The settings for this plugin (May be empty).public Properties storeSettings()
Plugin
Override this method to store your plugins settings to the file system. ATTENTION: Don't use any logger, thread or access to Frames in this method.
storeSettings
in class Plugin
null
if this plugin
does not need to save any settings.TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)