Interface ICheatSheetAction


  • public interface ICheatSheetAction
    Cheat sheet-aware action.

    This interface should be implemented by actions (subclasses of Action) that provide extra support for use in cheat sheets. These actions get passed additional parameters and the invoking cheat sheet manager.

    It is strongly recommended that actions intended to be invoked from cheat sheets should report success/fail outcome if running the action might fail (perhaps because the user cancels the action from its dialog). See Action.notifyResult(boolean) for details.

    Since:
    3.0
    • Method Detail

      • run

        void run​(String[] params,
                 ICheatSheetManager manager)
        Runs this Cheat sheet-aware action.
        Parameters:
        params - an array of strings
        manager - the cheat sheet manager