public class ShortcutsAction extends java.lang.Object implements EditorAction
Constructor and Description |
---|
ShortcutsAction(ShortcutsManager shortcutsManager,
java.awt.Component parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
void |
shortcuts()
The action method for "shortcuts".
|
public ShortcutsAction(@NotNull ShortcutsManager shortcutsManager, @NotNull java.awt.Component parent)
@ActionMethod public void shortcuts()
public void setAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action