Class HotkeyManager

java.lang.Object
com._1c.g5.v8.dt.ui.aef.events.HotkeyManager

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

    • 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.