Class HotkeyManager


  • public class HotkeyManager
    extends Object
    Provides hotkey information management for AEF widgets.
    • Method Detail

      • getInstance

        public static HotkeyManager getInstance()
        Returns:
        global instance of hotkey manager.
      • getCommandTooltip

        public String getCommandTooltip​(Collection<String> contexts,
                                        String commandId)
        Obtains tooltip text for a command.
        Parameters:
        contexts - the contexts.
        commandId - command id to obtain tooltip for.
        Returns:
        obtained tooltip text or null.
      • addHotkeyListener

        public void addHotkeyListener​(HotkeyManager.IHotkeyManagerListener listener)
        Adds hotkeys settings change listener.
        Parameters:
        listener - listener to add.
      • removeHotkeyListener

        public void removeHotkeyListener​(HotkeyManager.IHotkeyManagerListener listener)
        Removes hotkeys settings change listener.
        Parameters:
        listener - listener to remove.