TV-Browser 2.7.5 API

devplugin
Interface ContextMenuIf

All Known Subinterfaces:
PluginAccess, PluginProxy, TvDataService, TvDataServiceProxy
All Known Implementing Classes:
AbstractPluginProxy, AbstractTvDataService, AbstractTvDataServiceProxy, BbcBackstageDataService, BeanShellPluginProxy, BlogThisPlugin, CalendarExportPlugin, CapturePlugin, ClipboardPlugin, ConfigMenuItem, DefaultTvDataServiceProxy, DeprecatedTvDataServiceProxy, DoNothingContextMenuItem, DreamboxDataService, EMailPlugin, FavoritesPluginProxy, GenrePlugin, GrowlPlugin, I18NPlugin, ImdbPlugin, JavaPluginProxy, KNotifyPlugin, LeaveFullScreenMenuItem, ListViewPlugin, MovieAwardPlugin, NewsPlugin, Plugin, PrintPlugin, ProgramInfoProxy, ProgramListPlugin, RadioTimesDataService, ReminderPluginProxy, SchedulesDirectDataService, SearchPluginProxy, SeparatorMenuItem, SimpleMarkerPlugin, SweDBTvDataService, TimeListPlugin, TvBrowserDataService, TVRaterPlugin, WebPlugin, WirSchauenPlugin

public interface ContextMenuIf

A interface for a object that supports return an ActionMenu for a program.

Author:
René Mach

Method Summary
 ActionMenu getContextMenuActions(Program program)
          Gets the actions for the context menu of a program.
 String getId()
          Gets the ID of this ContextMenuIf.
 

Method Detail

getContextMenuActions

ActionMenu getContextMenuActions(Program program)
Gets the actions for the context menu of a program.

Parameters:
program - The program the context menu will be shown for.
Returns:
the actions this plugin provides for the given program or null if the plugin does not provide this feature.

getId

String getId()
Gets the ID of this ContextMenuIf.

Returns:
The ID of this ContextMenuIf.

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)