{"action":"created","comment":{"url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/comments/38397527","id":38397527,"diff_hunk":"@@ -407,19 +407,23 @@ public void modelChanged(XtextResource resource) {\n \t\theuristicList.addSelectionListener(new ConfigurationListener(\n \t\t\t\t\"heuristic\", () -> heuristicList.getText()));\n \n-\t\tleftCost.addKeyListener(new CostKeyListener(\"costLeft\"));\n+\t\tleftCost.addKeyListener(new ConfigurationKeyListener(\"costLeft\",\n+\t\t\t\t() -> leftCost.getText()));","path":"rdo-game5/src/rdo/game5/Game5View.java","position":6,"original_position":6,"commit_id":"6327b38eddd5031cb697aab06d0b548ff7e5e6a9","original_commit_id":"6327b38eddd5031cb697aab06d0b548ff7e5e6a9","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"body":"Но время жизни 'keyListener' равно времени жизни окошка с элементами, какой смысл удалять их руками? Тем более учитывая количество элементов и листенеров, код увеличится не на 2-3 строчки. :(","created_at":"2015-09-01T08:50:32Z","updated_at":"2015-09-01T08:50:32Z","html_url":"https://github.com/LeKaitoW/rdo-game5/pull/16#discussion_r38397527","pull_request_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/comments/38397527"},"html":{"href":"https://github.com/LeKaitoW/rdo-game5/pull/16#discussion_r38397527"},"pull_request":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16","id":43767614,"html_url":"https://github.com/LeKaitoW/rdo-game5/pull/16","diff_url":"https://github.com/LeKaitoW/rdo-game5/pull/16.diff","patch_url":"https://github.com/LeKaitoW/rdo-game5/pull/16.patch","issue_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/16","number":16,"state":"open","locked":false,"title":"add heuristic key listener (LeKaitoW/rdo-game5#13)","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-31T14:06:10Z","updated_at":"2015-09-01T08:50:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89b43edd8a85193f5c868f254cc71da328d09dd0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16/commits","review_comments_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16/comments","review_comment_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/16/comments","statuses_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/statuses/6327b38eddd5031cb697aab06d0b548ff7e5e6a9","head":{"label":"LeKaitoW:feature/heuristic_key_listener","ref":"feature/heuristic_key_listener","sha":"6327b38eddd5031cb697aab06d0b548ff7e5e6a9","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"repo":{"id":38208014,"name":"rdo-game5","full_name":"LeKaitoW/rdo-game5","owner":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeKaitoW/rdo-game5","description":"game5 plugin for rdo-xtext","fork":false,"url":"https://api.github.com/repos/LeKaitoW/rdo-game5","forks_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/forks","keys_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/teams","hooks_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/hooks","issue_events_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/events{/number}","events_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/events","assignees_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/assignees{/user}","branches_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/branches{/branch}","tags_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/tags","blobs_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/statuses/{sha}","languages_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/languages","stargazers_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/stargazers","contributors_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/contributors","subscribers_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/subscribers","subscription_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/subscription","commits_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/contents/{+path}","compare_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/merges","archive_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/downloads","issues_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues{/number}","pulls_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls{/number}","milestones_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/milestones{/number}","notifications_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/labels{/name}","releases_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/releases{/id}","created_at":"2015-06-28T17:41:47Z","updated_at":"2015-07-08T20:22:55Z","pushed_at":"2015-08-31T18:48:28Z","git_url":"git://github.com/LeKaitoW/rdo-game5.git","ssh_url":"git@github.com:LeKaitoW/rdo-game5.git","clone_url":"https://github.com/LeKaitoW/rdo-game5.git","svn_url":"https://github.com/LeKaitoW/rdo-game5","homepage":"","size":653,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":0,"default_branch":"release/current"}},"base":{"label":"LeKaitoW:release/1.0","ref":"release/1.0","sha":"247185549208e3999ea2ac87ebde5fef27d3499d","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"repo":{"id":38208014,"name":"rdo-game5","full_name":"LeKaitoW/rdo-game5","owner":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeKaitoW/rdo-game5","description":"game5 plugin for rdo-xtext","fork":false,"url":"https://api.github.com/repos/LeKaitoW/rdo-game5","forks_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/forks","keys_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/teams","hooks_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/hooks","issue_events_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/events{/number}","events_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/events","assignees_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/assignees{/user}","branches_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/branches{/branch}","tags_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/tags","blobs_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/statuses/{sha}","languages_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/languages","stargazers_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/stargazers","contributors_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/contributors","subscribers_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/subscribers","subscription_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/subscription","commits_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/contents/{+path}","compare_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/merges","archive_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/downloads","issues_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues{/number}","pulls_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls{/number}","milestones_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/milestones{/number}","notifications_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/labels{/name}","releases_url":"https://api.github.com/repos/LeKaitoW/rdo-game5/releases{/id}","created_at":"2015-06-28T17:41:47Z","updated_at":"2015-07-08T20:22:55Z","pushed_at":"2015-08-31T18:48:28Z","git_url":"git://github.com/LeKaitoW/rdo-game5.git","ssh_url":"git@github.com:LeKaitoW/rdo-game5.git","clone_url":"https://github.com/LeKaitoW/rdo-game5.git","svn_url":"https://github.com/LeKaitoW/rdo-game5","homepage":"","size":653,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":0,"default_branch":"release/current"}},"_links":{"self":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16"},"html":{"href":"https://github.com/LeKaitoW/rdo-game5/pull/16"},"issue":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/16"},"comments":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/LeKaitoW/rdo-game5/statuses/6327b38eddd5031cb697aab06d0b548ff7e5e6a9"}}}}