Package org.eclipse.ui.cheatsheets
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 Summary
Modifier and TypeMethodDescriptionvoid
run
(String[] params, ICheatSheetManager manager) Runs this Cheat sheet-aware action.
-
Method Details
-
run
Runs this Cheat sheet-aware action.- Parameters:
params
- an array of stringsmanager
- the cheat sheet manager
-