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