Class DuplicateRowAction

  • All Implemented Interfaces:
    Action

    public class DuplicateRowAction
    extends TableRendererAction
    Action to duplicate a row within a table viewer.
    Since:
    1.18
    Author:
    Mat Hansen
    • Field Detail

      • ACTION_ID

        public static final java.lang.String ACTION_ID
        The ID of this action.
        See Also:
        Constant Field Values
      • DEFAULT_KEYBINDING

        public static final java.lang.String DEFAULT_KEYBINDING
        The default key binding of this action.
        See Also:
        Constant Field Values
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: Action
        Return the ID for this action. Must be unique.
        Returns:
        the action ID
      • execute

        public void execute()
        Description copied from interface: Action
        Execute the action.
      • canExecute

        public boolean canExecute()
        Description copied from interface: Action
        Verify that this action can be executed given the current action context.
        Returns:
        true in case execute() can be called, false otherwise