- java.lang.Object
-
- tvbrowser.core.contextmenu.SelectProgramContextMenuItem
-
- All Implemented Interfaces:
ContextMenuIf
public class SelectProgramContextMenuItem extends java.lang.Object implements ContextMenuIf
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
SELECTPROGRAM
-
Fields inherited from interface devplugin.ContextMenuIf
ACTIONKEY_KEYBOARD_EVENT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionMenu
getContextMenuActions(Program program)
Gets the actions for the context menu of a program.java.lang.String
getId()
Gets the ID of this ContextMenuIf.static SelectProgramContextMenuItem
getInstance()
java.lang.String
toString()
-
-
-
Field Detail
-
SELECTPROGRAM
protected static final java.lang.String SELECTPROGRAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static SelectProgramContextMenuItem getInstance()
-
getContextMenuActions
public ActionMenu getContextMenuActions(Program program)
Description copied from interface:ContextMenuIf
Gets the actions for the context menu of a program.- Specified by:
getContextMenuActions
in interfaceContextMenuIf
- 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
public java.lang.String getId()
Description copied from interface:ContextMenuIf
Gets the ID of this ContextMenuIf.- Specified by:
getId
in interfaceContextMenuIf
- Returns:
- The ID of this ContextMenuIf.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-