{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ"},{"name":"READ_DATA"},{"name":"CREATE"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"READ"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"}]},{"resourceType":"PIN","capabilities":[{"name":"READ"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":119955684,"authorName":"Dmitri Gabinski","from":"Dmitri Gabinski &lt;gdkbnx@tut.by&gt;","profile":"gdkbnx1","replyTo":"LIST","senderId":"Br0w7s_ZQLwFTCdB9TV6sDWlWdttdzxuW-VL9s1vwL4h3DFuSae3ebG7-pd0naVyy52CeKqyumwrNXJ65DRgIihFeYMOmw","spamInfo":{"isSpam":false,"reason":"0"},"subject":"Re: [OmT] pre 1.7 build","postDate":"1165843782","msgId":7192,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PHdlYi0yMTI5ODY4NzdAc3BlZWR5LnR1dGJ5LmNvbT4=","inReplyToHeader":"PDk5MTVDNENDLUZEN0UtNEE1QS04MTBELTFGQjBEMUU4QjhBREBteDYudGlraS5uZS5qcD4=","referencesHeader":"PHdlYi0yMTI1ODc0MzNAc3BlZWR5LnR1dGJ5LmNvbT4gPDk5MTVDNENDLUZEN0UtNEE1QS04MTBELTFGQjBEMUU4QjhBREBteDYudGlraS5uZS5qcD4="},"prevInTopic":7191,"nextInTopic":7194,"prevInTime":7191,"nextInTime":7193,"topicId":7190,"numMessagesInTopic":20,"msgSnippet":"Mon, 11 Dec 2006 22:09:01 +0900, Jean-Christophe Helary ... Sure. It s not very difficult. You have to find the file ","rawEmail":"Return-Path: &lt;gdkbnx@tut.by&gt;\r\nX-Sender: gdkbnx@tut.by\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nReceived: (qmail 23914 invoked from network); 11 Dec 2006 13:37:10 -0000\r\nReceived: from unknown (66.218.67.35)\n  by m40.grp.scd.yahoo.com with QMQP; 11 Dec 2006 13:37:10 -0000\r\nReceived: from unknown (HELO speedy.tutby.com) (195.137.160.40)\n  by mta9.grp.scd.yahoo.com with SMTP; 11 Dec 2006 13:37:09 -0000\r\nX-VBA32: Checked\r\nReceived: from [212.98.163.194] (account gdkbnx@tut.by)\n  by speedy.tutby.com (CommuniGate Pro WebUser 4.3.8)\n  with HTTP id 212986877 for OmegaT@yahoogroups.com; Mon, 11 Dec 2006 15:29:42 +0200\r\nTo: OmegaT@yahoogroups.com\r\nX-Mailer: CommuniGate Pro WebUser Interface v.4.3.8\r\nDate: Mon, 11 Dec 2006 15:29:42 +0200\r\nMessage-ID: &lt;web-212986877@speedy.tutby.com&gt;\r\nIn-Reply-To: &lt;9915C4CC-FD7E-4A5A-810D-1FB0D1E8B8AD@mx6.tiki.ne.jp&gt;\r\nReferences: &lt;web-212587433@speedy.tutby.com&gt;\n &lt;9915C4CC-FD7E-4A5A-810D-1FB0D1E8B8AD@mx6.tiki.ne.jp&gt;\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=&quot;windows-1251&quot;; format=&quot;flowed&quot;\r\nContent-Transfer-Encoding: 8bit\r\nX-Originating-IP: 195.137.160.40\r\nX-eGroups-Msg-Info: 1:0:0:0\r\nFrom: Dmitri Gabinski &lt;gdkbnx@tut.by&gt;\r\nSubject: Re: [OmT] pre 1.7 build\r\nX-Yahoo-Group-Post: member; u=119955684; y=e6MT1_c0WT0b93qLwKAPe5-zDdRbO_fAtDH9qM2UXmAYLg\r\nX-Yahoo-Profile: gdkbnx1\r\n\r\nMon, 11 Dec 2006 22:09:01 +0900, Jean-Christophe Helary \n&lt;fusion@mx6.tiki.ne.jp&gt; skribis:\n\n&gt; Dmitri,\n&gt; \n&gt; Would you mind putting a few lines to indicate how you change the  \n&gt; shortcuts ?\n\nSure. It&#39;s not very difficult. You have to find the file\n&lt;OmegaT source folder&gt;&#92;src&#92;org&#92;omegat&#92;gui&#92;main&#92;MainWindow.java\n\nThere find the method (this example is with my modifications, compare it \nwith the original version):\n     private void initUIShortcuts()\n     {\n         setAccelerator(projectNewMenuItem, KeyEvent.VK_F2);\n         setAccelerator(projectOpenMenuItem, KeyEvent.VK_O);\n         setAccelerator(projectCloseMenuItem, KeyEvent.VK_F4);\n         setAccelerator(projectReloadMenuItem, KeyEvent.VK_F5);\n         setAccelerator(projectSaveMenuItem, KeyEvent.VK_S);\n         setAccelerator(projectEditMenuItem, KeyEvent.VK_E);\n         setAccelerator(projectCompileMenuItem, KeyEvent.VK_K);\n         setAccelerator(projectExitMenuItem, KeyEvent.VK_Q);\n\n         setAccelerator(editUndoMenuItem , KeyEvent.VK_Z);\n         setAccelerator(editRedoMenuItem , KeyEvent.VK_Y);\n         setAccelerator(editOverwriteTranslationMenuItem , KeyEvent.VK_R);\n         setAccelerator(editInsertTranslationMenuItem , KeyEvent.VK_I);\n         setAccelerator(editOverwriteSourceMenuItem , KeyEvent.VK_R, \ntrue);\n         setAccelerator(editInsertSourceMenuItem , KeyEvent.VK_I, true);\n         setAccelerator(editFindInProjectMenuItem , KeyEvent.VK_F);\n         setAccelerator(editSelectFuzzy1MenuItem , KeyEvent.VK_1);\n         setAccelerator(editSelectFuzzy2MenuItem , KeyEvent.VK_2);\n         setAccelerator(editSelectFuzzy3MenuItem , KeyEvent.VK_3);\n         setAccelerator(editSelectFuzzy4MenuItem , KeyEvent.VK_4);\n         setAccelerator(editSelectFuzzy5MenuItem , KeyEvent.VK_5);\n\n         setAccelerator(gotoNextUntranslatedMenuItem , KeyEvent.VK_U);\n         setAccelerator(gotoNextSegmentMenuItem , KeyEvent.VK_N);\n         setAccelerator(gotoPreviousSegmentMenuItem , KeyEvent.VK_P);\n         setAccelerator(gotoSegmentMenuItem , KeyEvent.VK_G);\n\n         //setAccelerator(viewFileListCheckBoxMenuItem, KeyEvent.VK_L);\n         setAccelerator(viewFileListMenuItem, KeyEvent.VK_L);\n\n         setAccelerator(toolsValidateTagsMenuItem , KeyEvent.VK_T);\n\n         setAccelerator(optionsFontSelectionMenuItem , KeyEvent.VK_F9);\n         setAccelerator(optionsSetupFileFiltersMenuItem , KeyEvent.VK_F6);\n         setAccelerator(optionsSentsegMenuItem , KeyEvent.VK_F7);\n         setAccelerator(optionsWorkflowMenuItem , KeyEvent.VK_F8);\n\n     }\n\nAvailable menu items are listed in initComponents(). Their names are \nbasically self-explaining. So, suppose, I want to have Ctrl+D to restore \nthe main window. I look into initComponents() and find there \noptionsRestoreGUIMenuItem\n\nThen I go to initUIShortcuts() and add there a line (the line order there \nis of no particular importance):\n\nsetAccelerator(optionsRestoreGUIMenuItem , KeyEvent.VK_D);\n\nSo, the idea is in adding a line like:\nsetAccelerator(&lt;name of menu item&gt;, KeyEvent.VK_&lt;letter or functional \nkey&gt;);\n\nto have a shortcut Ctrl+&lt;letter or functional key&gt; for the specified menu \nitem.\n\nIf you want to have Shift+Ctrl, it should be:\nsetAccelerator(&lt;name of menu item&gt;, KeyEvent.VK_&lt;letter or functional \nkey&gt;, true);\n\nI don&#39;t know, if it&#39;s possible to engage Alt.\n\nSo, save your changes and compile. Notice for NetBeans users: do not \nmodify that file in NetBeans, edit it before loading the project to NB.\n\nBest regards,\n\nDmitri Gabinski\n\n"}}