- java.lang.Object
-
- tvbrowser.core.contextmenu.DoNothingContextMenuItem
-
- All Implemented Interfaces:
ContextMenuIf
public class DoNothingContextMenuItem extends java.lang.Object implements ContextMenuIf
An item for the mouse actions that does nothing.- Author:
- René Mach
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
DONOTHING
-
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 DoNothingContextMenuItem
getInstance()
Gets the instance of this class.
-
-
-
Field Detail
-
DONOTHING
protected static final java.lang.String DONOTHING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static DoNothingContextMenuItem getInstance()
Gets the instance of this class.- Returns:
- The instance of this class.
-
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.
-
-