Class ShortcutsAction

  • All Implemented Interfaces:
    EditorAction

    public class ShortcutsAction
    extends java.lang.Object
    implements EditorAction
    • Constructor Summary

      Constructors 
      Constructor Description
      ShortcutsAction​(@NotNull ShortcutsManager shortcutsManager, @NotNull java.awt.Component parent)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShortcutsAction

        public ShortcutsAction​(@NotNull
                               @NotNull ShortcutsManager shortcutsManager,
                               @NotNull
                               @NotNull java.awt.Component parent)
        Creates a new instance.
    • Method Detail

      • shortcuts

        @ActionMethod
        public void shortcuts()
        The action method for "shortcuts". Opens the dialog to configure keyboard shortcuts.
      • setAction

        public void setAction​(@NotNull
                              @NotNull javax.swing.Action action,
                              @NotNull
                              @NotNull java.lang.String name)
        Description copied from interface: EditorAction
        Sets the Action instance for this editor action.
        Specified by:
        setAction in interface EditorAction
        Parameters:
        action - the action instance
        name - the name of the action