@Override
  public @NotNull ShortcutRestrictions getForActionId(@NonNls String actionId) {
    if (actionId == null) return ShortcutRestrictions.NO_RESTRICTIONS;
    if (actionId.startsWith("Swing-")) return SWING_SHORTCUT;

    if (IdeActions.ACTION_EDITOR_ADD_OR_REMOVE_CARET.equals(actionId) ||
        IdeActions.ACTION_EDITOR_CREATE_RECTANGULAR_SELECTION.equals(actionId) ||
        IdeActions.ACTION_EDITOR_ADD_RECTANGULAR_SELECTION_ON_MOUSE_DRAG.equals(actionId) ||
        IdeActions.ACTION_EDITOR_CREATE_RECTANGULAR_SELECTION_ON_MOUSE_DRAG.equals(actionId)) {
      return MOUSE_SINGLE_CLICK_ONLY;
    }
    if (IdeActions.ACTION_EXPAND_LIVE_TEMPLATE_BY_TAB.equals(actionId)) {
      return FIXED_SHORTCUT;
    }
    return ShortcutRestrictions.NO_RESTRICTIONS;
  }
@Override
  public @NotNull ShortcutRestrictions getForActionId(@NonNls String actionId)