Interface ShortcutsListener

All Superinterfaces:
EventListener

public interface ShortcutsListener extends EventListener
Interface for listeners for Shortcut changes.
  • Method Details

    • shortcutAdded

      void shortcutAdded(@NotNull @NotNull ShortcutSlot shortcutSlot, @NotNull @NotNull Shortcut shortcut)
      A shortcut has been added.
      Parameters:
      shortcutSlot - the shortcut slot
      shortcut - the shortcut instance
    • shortcutRemoved

      void shortcutRemoved(@NotNull @NotNull ShortcutSlot shortcutSlot, @NotNull @NotNull Shortcut shortcut)
      A shortcut has been removed.
      Parameters:
      shortcutSlot - the shortcut slot
      shortcut - the shortcut instance