Module tvbrowser

Class 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
    • 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 interface ContextMenuIf
        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 interface ContextMenuIf
        Returns:
        The ID of this ContextMenuIf.