{"action":"created","comment":{"url":"https://api.github.com/repos/codenvy/che-core/pulls/comments/33682769","id":33682769,"diff_hunk":"@@ -217,48 +218,50 @@ public void onProjectClosed(ProjectActionEvent event) {\n             }\n         });\n \n-        eventBus.addHandler(RefreshProjectTreeEvent.TYPE, new RefreshProjectTreeHandler() {\n-            @Override\n-            public void onRefresh(RefreshProjectTreeEvent event) {\n-                eventBus.fireEvent(new PersistProjectTreeStateEvent());\n-                if (appContext.getCurrentProject() == null) {\n-                    setTree(projectListStructureProvider.get());\n-                    return;\n-                }\n-\n-                if (event.refreshSubtree()) {\n-                    nodesToRefresh = view.getOpenedTreeNodes();\n-                    refreshTreeNodes();\n-                    return;\n-                }\n-\n-                if (event.getNode() != null) {\n-                    refreshAndSelectNode(event.getNode());\n-                    return;\n-                }\n-\n-                currentTreeStructure.getRootNodes(new AsyncCallback<Array<TreeNode<?>>>() {\n-                    @Override\n-                    public void onSuccess(Array<TreeNode<?>> result) {\n-                        for (TreeNode<?> childNode : result.asIterable()) {\n-                            // clear children in order to force to refresh\n-                            childNode.setChildren(Collections.<TreeNode<?>>createArray());\n-                            refreshAndSelectNode(childNode);\n-\n-                            ProjectDescriptor projectDescriptor = appContext.getCurrentProject().getRootProject();\n-                            String workspaceName = projectDescriptor.getWorkspaceName();\n-                            String fullProjectPath = \"/\" + workspaceName + projectDescriptor.getPath();\n-                            eventBus.fireEvent(new RestoreProjectTreeStateEvent(fullProjectPath));\n-                        }\n-                    }\n-\n-                    @Override\n-                    public void onFailure(Throwable caught) {\n-                        Log.error(ProjectExplorerPartPresenter.class, caught);\n-                    }\n-                });\n-            }\n-        });\n+        eventBus.addHandler(RefreshProjectTreeEvent.TYPE, this);","path":"ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/part/projectexplorer/ProjectExplorerPartPresenter.java","position":56,"original_position":56,"commit_id":"5e2b66a36519b90aa2d0b7358eb5911d55d70eff","original_commit_id":"5e2b66a36519b90aa2d0b7358eb5911d55d70eff","user":{"login":"vparfonov","id":1636592,"avatar_url":"https://avatars.githubusercontent.com/u/1636592?v=3","gravatar_id":"","url":"https://api.github.com/users/vparfonov","html_url":"https://github.com/vparfonov","followers_url":"https://api.github.com/users/vparfonov/followers","following_url":"https://api.github.com/users/vparfonov/following{/other_user}","gists_url":"https://api.github.com/users/vparfonov/gists{/gist_id}","starred_url":"https://api.github.com/users/vparfonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vparfonov/subscriptions","organizations_url":"https://api.github.com/users/vparfonov/orgs","repos_url":"https://api.github.com/users/vparfonov/repos","events_url":"https://api.github.com/users/vparfonov/events{/privacy}","received_events_url":"https://api.github.com/users/vparfonov/received_events","type":"User","site_admin":false},"body":"Remove comments block","created_at":"2015-07-01T14:23:28Z","updated_at":"2015-07-01T14:23:28Z","html_url":"https://github.com/codenvy/che-core/pull/137#discussion_r33682769","pull_request_url":"https://api.github.com/repos/codenvy/che-core/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/comments/33682769"},"html":{"href":"https://github.com/codenvy/che-core/pull/137#discussion_r33682769"},"pull_request":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/codenvy/che-core/pulls/137","id":38890445,"html_url":"https://github.com/codenvy/che-core/pull/137","diff_url":"https://github.com/codenvy/che-core/pull/137.diff","patch_url":"https://github.com/codenvy/che-core/pull/137.patch","issue_url":"https://api.github.com/repos/codenvy/che-core/issues/137","number":137,"state":"open","locked":false,"title":"Idex 2646","user":{"login":"vitaliy-guliy","id":1655894,"avatar_url":"https://avatars.githubusercontent.com/u/1655894?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaliy-guliy","html_url":"https://github.com/vitaliy-guliy","followers_url":"https://api.github.com/users/vitaliy-guliy/followers","following_url":"https://api.github.com/users/vitaliy-guliy/following{/other_user}","gists_url":"https://api.github.com/users/vitaliy-guliy/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaliy-guliy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaliy-guliy/subscriptions","organizations_url":"https://api.github.com/users/vitaliy-guliy/orgs","repos_url":"https://api.github.com/users/vitaliy-guliy/repos","events_url":"https://api.github.com/users/vitaliy-guliy/events{/privacy}","received_events_url":"https://api.github.com/users/vitaliy-guliy/received_events","type":"User","site_admin":false},"body":"@gazarenkov @vparfonov @skabashnyuk ","created_at":"2015-06-30T15:25:38Z","updated_at":"2015-07-01T14:23:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dee3e43c0f5a0aee42dd4af82aeb08a6dd102a65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codenvy/che-core/pulls/137/commits","review_comments_url":"https://api.github.com/repos/codenvy/che-core/pulls/137/comments","review_comment_url":"https://api.github.com/repos/codenvy/che-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codenvy/che-core/issues/137/comments","statuses_url":"https://api.github.com/repos/codenvy/che-core/statuses/5e2b66a36519b90aa2d0b7358eb5911d55d70eff","head":{"label":"codenvy:IDEX-2646","ref":"IDEX-2646","sha":"5e2b66a36519b90aa2d0b7358eb5911d55d70eff","user":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"repo":{"id":32935706,"name":"che-core","full_name":"codenvy/che-core","owner":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codenvy/che-core","description":"Core for che","fork":false,"url":"https://api.github.com/repos/codenvy/che-core","forks_url":"https://api.github.com/repos/codenvy/che-core/forks","keys_url":"https://api.github.com/repos/codenvy/che-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codenvy/che-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codenvy/che-core/teams","hooks_url":"https://api.github.com/repos/codenvy/che-core/hooks","issue_events_url":"https://api.github.com/repos/codenvy/che-core/issues/events{/number}","events_url":"https://api.github.com/repos/codenvy/che-core/events","assignees_url":"https://api.github.com/repos/codenvy/che-core/assignees{/user}","branches_url":"https://api.github.com/repos/codenvy/che-core/branches{/branch}","tags_url":"https://api.github.com/repos/codenvy/che-core/tags","blobs_url":"https://api.github.com/repos/codenvy/che-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codenvy/che-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codenvy/che-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/codenvy/che-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codenvy/che-core/statuses/{sha}","languages_url":"https://api.github.com/repos/codenvy/che-core/languages","stargazers_url":"https://api.github.com/repos/codenvy/che-core/stargazers","contributors_url":"https://api.github.com/repos/codenvy/che-core/contributors","subscribers_url":"https://api.github.com/repos/codenvy/che-core/subscribers","subscription_url":"https://api.github.com/repos/codenvy/che-core/subscription","commits_url":"https://api.github.com/repos/codenvy/che-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/codenvy/che-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/codenvy/che-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/codenvy/che-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/codenvy/che-core/contents/{+path}","compare_url":"https://api.github.com/repos/codenvy/che-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codenvy/che-core/merges","archive_url":"https://api.github.com/repos/codenvy/che-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codenvy/che-core/downloads","issues_url":"https://api.github.com/repos/codenvy/che-core/issues{/number}","pulls_url":"https://api.github.com/repos/codenvy/che-core/pulls{/number}","milestones_url":"https://api.github.com/repos/codenvy/che-core/milestones{/number}","notifications_url":"https://api.github.com/repos/codenvy/che-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codenvy/che-core/labels{/name}","releases_url":"https://api.github.com/repos/codenvy/che-core/releases{/id}","created_at":"2015-03-26T15:30:10Z","updated_at":"2015-06-24T07:32:53Z","pushed_at":"2015-07-01T12:38:56Z","git_url":"git://github.com/codenvy/che-core.git","ssh_url":"git@github.com:codenvy/che-core.git","clone_url":"https://github.com/codenvy/che-core.git","svn_url":"https://github.com/codenvy/che-core","homepage":null,"size":7319,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":8,"forks":14,"open_issues":8,"watchers":6,"default_branch":"master"}},"base":{"label":"codenvy:master","ref":"master","sha":"049a53dc8a621c38ce1d3c3eeeb84912c8af7b77","user":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"repo":{"id":32935706,"name":"che-core","full_name":"codenvy/che-core","owner":{"login":"codenvy","id":2736247,"avatar_url":"https://avatars.githubusercontent.com/u/2736247?v=3","gravatar_id":"","url":"https://api.github.com/users/codenvy","html_url":"https://github.com/codenvy","followers_url":"https://api.github.com/users/codenvy/followers","following_url":"https://api.github.com/users/codenvy/following{/other_user}","gists_url":"https://api.github.com/users/codenvy/gists{/gist_id}","starred_url":"https://api.github.com/users/codenvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenvy/subscriptions","organizations_url":"https://api.github.com/users/codenvy/orgs","repos_url":"https://api.github.com/users/codenvy/repos","events_url":"https://api.github.com/users/codenvy/events{/privacy}","received_events_url":"https://api.github.com/users/codenvy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codenvy/che-core","description":"Core for che","fork":false,"url":"https://api.github.com/repos/codenvy/che-core","forks_url":"https://api.github.com/repos/codenvy/che-core/forks","keys_url":"https://api.github.com/repos/codenvy/che-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codenvy/che-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codenvy/che-core/teams","hooks_url":"https://api.github.com/repos/codenvy/che-core/hooks","issue_events_url":"https://api.github.com/repos/codenvy/che-core/issues/events{/number}","events_url":"https://api.github.com/repos/codenvy/che-core/events","assignees_url":"https://api.github.com/repos/codenvy/che-core/assignees{/user}","branches_url":"https://api.github.com/repos/codenvy/che-core/branches{/branch}","tags_url":"https://api.github.com/repos/codenvy/che-core/tags","blobs_url":"https://api.github.com/repos/codenvy/che-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codenvy/che-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codenvy/che-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/codenvy/che-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codenvy/che-core/statuses/{sha}","languages_url":"https://api.github.com/repos/codenvy/che-core/languages","stargazers_url":"https://api.github.com/repos/codenvy/che-core/stargazers","contributors_url":"https://api.github.com/repos/codenvy/che-core/contributors","subscribers_url":"https://api.github.com/repos/codenvy/che-core/subscribers","subscription_url":"https://api.github.com/repos/codenvy/che-core/subscription","commits_url":"https://api.github.com/repos/codenvy/che-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/codenvy/che-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/codenvy/che-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/codenvy/che-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/codenvy/che-core/contents/{+path}","compare_url":"https://api.github.com/repos/codenvy/che-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codenvy/che-core/merges","archive_url":"https://api.github.com/repos/codenvy/che-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codenvy/che-core/downloads","issues_url":"https://api.github.com/repos/codenvy/che-core/issues{/number}","pulls_url":"https://api.github.com/repos/codenvy/che-core/pulls{/number}","milestones_url":"https://api.github.com/repos/codenvy/che-core/milestones{/number}","notifications_url":"https://api.github.com/repos/codenvy/che-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codenvy/che-core/labels{/name}","releases_url":"https://api.github.com/repos/codenvy/che-core/releases{/id}","created_at":"2015-03-26T15:30:10Z","updated_at":"2015-06-24T07:32:53Z","pushed_at":"2015-07-01T12:38:56Z","git_url":"git://github.com/codenvy/che-core.git","ssh_url":"git@github.com:codenvy/che-core.git","clone_url":"https://github.com/codenvy/che-core.git","svn_url":"https://github.com/codenvy/che-core","homepage":null,"size":7319,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":8,"forks":14,"open_issues":8,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/137"},"html":{"href":"https://github.com/codenvy/che-core/pull/137"},"issue":{"href":"https://api.github.com/repos/codenvy/che-core/issues/137"},"comments":{"href":"https://api.github.com/repos/codenvy/che-core/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codenvy/che-core/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/codenvy/che-core/statuses/5e2b66a36519b90aa2d0b7358eb5911d55d70eff"}}}}