Package com.jetbrains

Interface SystemShortcuts


@Service @Provided public interface SystemShortcuts
Querying system shortcuts
  • Method Details Link icon

    • querySystemShortcuts Link icon

      SystemShortcuts.Shortcut[] querySystemShortcuts()
      Query the current state of system shortcuts.
      Returns:
      The list of enabled system shortcuts, or null if the current toolkit does not support querying the state of system shortcuts.
    • setChangeListener Link icon

      void setChangeListener(SystemShortcuts.ChangeEventListener listener)
      Set an event listener which is called whenever the user changes a system shortcut. The listener will be called on the EDT. If the application is running with headless or custom toolkit, this may be a no-op.
      Parameters:
      listener - The listener