{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/5","id":37103537,"html_url":"https://github.com/YaSuenag/HeapStatsFXAnalyzer/pull/5","diff_url":"https://github.com/YaSuenag/HeapStatsFXAnalyzer/pull/5.diff","patch_url":"https://github.com/YaSuenag/HeapStatsFXAnalyzer/pull/5.patch","issue_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/issues/5","number":5,"state":"closed","locked":false,"title":"Basic implementation of the time-line display for ThreadRecorder.","user":{"login":"aoetk","id":735573,"avatar_url":"https://avatars.githubusercontent.com/u/735573?v=3","gravatar_id":"","url":"https://api.github.com/users/aoetk","html_url":"https://github.com/aoetk","followers_url":"https://api.github.com/users/aoetk/followers","following_url":"https://api.github.com/users/aoetk/following{/other_user}","gists_url":"https://api.github.com/users/aoetk/gists{/gist_id}","starred_url":"https://api.github.com/users/aoetk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoetk/subscriptions","organizations_url":"https://api.github.com/users/aoetk/orgs","repos_url":"https://api.github.com/users/aoetk/repos","events_url":"https://api.github.com/users/aoetk/events{/privacy}","received_events_url":"https://api.github.com/users/aoetk/received_events","type":"User","site_admin":false},"body":"ThreadRecorder のスレッドタイムライン部分の基本的な実装となります。\r\n\r\n* 実装したこと\r\n    - Java のスレッドを縦軸に並べ、横軸に時刻に応じたスレッドの状態を色分けして表示する\r\n    - コンボボックスに表示される開始、終了時刻の範囲内で表示する\r\n* 実装していないこと\r\n    - 時刻目盛りの表示\r\n    - スレッド名テーブルのチェックボックスクリックによる表示制御\r\n    - 色の凡例表示\r\n    - 色分けされているスレッド状態の情報をツールチップ等で表示する\r\n* 制限事項\r\n    - タイムライン表示の長さは 1 ミリ秒 = 1px 決めうちにしている\r\n* 実装方法\r\n    - TableView をスレッド一覧の横にもう一つ並べ、タイムラインの描画は TableCell 実装 (TimelineCell) の中で行っている。\r\n    - 左右の Table に渡す ThreadViewModel というプレゼンテーションモデルクラスを作っている。\r\n        + このモデルがスレッド名や開始・終了時刻、スレッドに応じたイベントリストを保持している。\r\n        + ThreadShowSwitch クラスをリネームして作っている。\r\n    - タイムラインは Rectangle を HBox に詰め込むことで描画している。\r\n        + 全体の開始・終了時刻に満たない部分が透明の Rectangle を詰めている。\r\n        + Rectangle の色は CSS に定義している。\r\n            - CSS のクラス名とイベント名を合わせるという少しトリッキーな実装になっているので注意。\r\n            - イベントは開始・終了がペアになっているという前提にしている。そのため、終了イベントに対応する色は、ThreadStart に対応する色になっている。\r\n\r\n![2015-06-07 16 55 25](https://cloud.githubusercontent.com/assets/735573/8023245/02be13be-0d3d-11e5-8863-70845c4cdbd0.png)\r\n![2015-06-07 16 56 14](https://cloud.githubusercontent.com/assets/735573/8023247/19008f80-0d3d-11e5-8734-5f62e1fca2eb.png)\r\n","created_at":"2015-06-07T08:47:14Z","updated_at":"2015-06-07T13:03:10Z","closed_at":"2015-06-07T13:03:10Z","merged_at":"2015-06-07T13:03:10Z","merge_commit_sha":"253c3f42e7c4fa931b7f5d0b183ff3a2dda213dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/5/commits","review_comments_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/5/comments","review_comment_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/issues/5/comments","statuses_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/statuses/6650e30319f88da3e55605766fcf3c25047e7358","head":{"label":"aoetk:timeline-first-impl","ref":"timeline-first-impl","sha":"6650e30319f88da3e55605766fcf3c25047e7358","user":{"login":"aoetk","id":735573,"avatar_url":"https://avatars.githubusercontent.com/u/735573?v=3","gravatar_id":"","url":"https://api.github.com/users/aoetk","html_url":"https://github.com/aoetk","followers_url":"https://api.github.com/users/aoetk/followers","following_url":"https://api.github.com/users/aoetk/following{/other_user}","gists_url":"https://api.github.com/users/aoetk/gists{/gist_id}","starred_url":"https://api.github.com/users/aoetk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoetk/subscriptions","organizations_url":"https://api.github.com/users/aoetk/orgs","repos_url":"https://api.github.com/users/aoetk/repos","events_url":"https://api.github.com/users/aoetk/events{/privacy}","received_events_url":"https://api.github.com/users/aoetk/received_events","type":"User","site_admin":false},"repo":{"id":26947180,"name":"HeapStatsFXAnalyzer","full_name":"aoetk/HeapStatsFXAnalyzer","owner":{"login":"aoetk","id":735573,"avatar_url":"https://avatars.githubusercontent.com/u/735573?v=3","gravatar_id":"","url":"https://api.github.com/users/aoetk","html_url":"https://github.com/aoetk","followers_url":"https://api.github.com/users/aoetk/followers","following_url":"https://api.github.com/users/aoetk/following{/other_user}","gists_url":"https://api.github.com/users/aoetk/gists{/gist_id}","starred_url":"https://api.github.com/users/aoetk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoetk/subscriptions","organizations_url":"https://api.github.com/users/aoetk/orgs","repos_url":"https://api.github.com/users/aoetk/repos","events_url":"https://api.github.com/users/aoetk/events{/privacy}","received_events_url":"https://api.github.com/users/aoetk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aoetk/HeapStatsFXAnalyzer","description":"HeapStats Analyzer JavaFX8 version","fork":true,"url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer","forks_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/forks","keys_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/teams","hooks_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/hooks","issue_events_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/issues/events{/number}","events_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/events","assignees_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/assignees{/user}","branches_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/branches{/branch}","tags_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/tags","blobs_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/git/refs{/sha}","trees_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/statuses/{sha}","languages_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/languages","stargazers_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/stargazers","contributors_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/contributors","subscribers_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/subscribers","subscription_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/subscription","commits_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/commits{/sha}","git_commits_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/git/commits{/sha}","comments_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/comments{/number}","issue_comment_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/issues/comments{/number}","contents_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/contents/{+path}","compare_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/merges","archive_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/downloads","issues_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/issues{/number}","pulls_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/pulls{/number}","milestones_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/milestones{/number}","notifications_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/labels{/name}","releases_url":"https://api.github.com/repos/aoetk/HeapStatsFXAnalyzer/releases{/id}","created_at":"2014-11-21T05:41:26Z","updated_at":"2014-11-21T05:41:27Z","pushed_at":"2015-06-07T08:33:36Z","git_url":"git://github.com/aoetk/HeapStatsFXAnalyzer.git","ssh_url":"git@github.com:aoetk/HeapStatsFXAnalyzer.git","clone_url":"https://github.com/aoetk/HeapStatsFXAnalyzer.git","svn_url":"https://github.com/aoetk/HeapStatsFXAnalyzer","homepage":"http://icedtea.classpath.org/wiki/HeapStats","size":919,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"YaSuenag:develop","ref":"develop","sha":"de848fdce6c079e53e3a24159ae4e5ebc1d45481","user":{"login":"YaSuenag","id":7421132,"avatar_url":"https://avatars.githubusercontent.com/u/7421132?v=3","gravatar_id":"","url":"https://api.github.com/users/YaSuenag","html_url":"https://github.com/YaSuenag","followers_url":"https://api.github.com/users/YaSuenag/followers","following_url":"https://api.github.com/users/YaSuenag/following{/other_user}","gists_url":"https://api.github.com/users/YaSuenag/gists{/gist_id}","starred_url":"https://api.github.com/users/YaSuenag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaSuenag/subscriptions","organizations_url":"https://api.github.com/users/YaSuenag/orgs","repos_url":"https://api.github.com/users/YaSuenag/repos","events_url":"https://api.github.com/users/YaSuenag/events{/privacy}","received_events_url":"https://api.github.com/users/YaSuenag/received_events","type":"User","site_admin":false},"repo":{"id":19238174,"name":"HeapStatsFXAnalyzer","full_name":"YaSuenag/HeapStatsFXAnalyzer","owner":{"login":"YaSuenag","id":7421132,"avatar_url":"https://avatars.githubusercontent.com/u/7421132?v=3","gravatar_id":"","url":"https://api.github.com/users/YaSuenag","html_url":"https://github.com/YaSuenag","followers_url":"https://api.github.com/users/YaSuenag/followers","following_url":"https://api.github.com/users/YaSuenag/following{/other_user}","gists_url":"https://api.github.com/users/YaSuenag/gists{/gist_id}","starred_url":"https://api.github.com/users/YaSuenag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaSuenag/subscriptions","organizations_url":"https://api.github.com/users/YaSuenag/orgs","repos_url":"https://api.github.com/users/YaSuenag/repos","events_url":"https://api.github.com/users/YaSuenag/events{/privacy}","received_events_url":"https://api.github.com/users/YaSuenag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YaSuenag/HeapStatsFXAnalyzer","description":"HeapStats Analyzer JavaFX8 version","fork":false,"url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer","forks_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/forks","keys_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/teams","hooks_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/hooks","issue_events_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/issues/events{/number}","events_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/events","assignees_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/assignees{/user}","branches_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/branches{/branch}","tags_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/tags","blobs_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/statuses/{sha}","languages_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/languages","stargazers_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/stargazers","contributors_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/contributors","subscribers_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/subscribers","subscription_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/subscription","commits_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/issues/comments{/number}","contents_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/contents/{+path}","compare_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/merges","archive_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/downloads","issues_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/issues{/number}","pulls_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls{/number}","milestones_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/milestones{/number}","notifications_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/labels{/name}","releases_url":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/releases{/id}","created_at":"2014-04-28T12:41:16Z","updated_at":"2014-11-30T12:08:33Z","pushed_at":"2015-06-07T13:03:10Z","git_url":"git://github.com/YaSuenag/HeapStatsFXAnalyzer.git","ssh_url":"git@github.com:YaSuenag/HeapStatsFXAnalyzer.git","clone_url":"https://github.com/YaSuenag/HeapStatsFXAnalyzer.git","svn_url":"https://github.com/YaSuenag/HeapStatsFXAnalyzer","homepage":"http://icedtea.classpath.org/wiki/HeapStats","size":1185,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/5"},"html":{"href":"https://github.com/YaSuenag/HeapStatsFXAnalyzer/pull/5"},"issue":{"href":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/issues/5"},"comments":{"href":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/YaSuenag/HeapStatsFXAnalyzer/statuses/6650e30319f88da3e55605766fcf3c25047e7358"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"YaSuenag","id":7421132,"avatar_url":"https://avatars.githubusercontent.com/u/7421132?v=3","gravatar_id":"","url":"https://api.github.com/users/YaSuenag","html_url":"https://github.com/YaSuenag","followers_url":"https://api.github.com/users/YaSuenag/followers","following_url":"https://api.github.com/users/YaSuenag/following{/other_user}","gists_url":"https://api.github.com/users/YaSuenag/gists{/gist_id}","starred_url":"https://api.github.com/users/YaSuenag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaSuenag/subscriptions","organizations_url":"https://api.github.com/users/YaSuenag/orgs","repos_url":"https://api.github.com/users/YaSuenag/repos","events_url":"https://api.github.com/users/YaSuenag/events{/privacy}","received_events_url":"https://api.github.com/users/YaSuenag/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":351,"deletions":46,"changed_files":6}}