private void addGlobalHotkeys(){
  if (!globalHotkeysRegister) {
    return;
  }
  for (  Hotkey hotkey : hotkeys) {
    if (doesHotkeyHaveAction(hotkey) && hotkey.type == Type.GLOBAL) {
      addGlobalHotkey(hotkey);
    }
  }
}

private void addGlobalHotkeys ( ) { if ( ! globalHotkeysRegister ) { return ; } for ( Hotkey hotkey : hotkeys ) { if ( doesHotkeyHaveAction ( hotkey ) && hotkey . type == Type . GLOBAL ) { addGlobalHotkey ( hotkey ) ; } } }
adds global hotkeys based on the current data , if global hotkeys are currently enabled .
