{"action":"created","comment":{"url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments/48364289","id":48364289,"diff_hunk":"@@ -32,9 +33,15 @@\n \n \t@Override\n \tpublic Object execute(final ExecutionEvent event) throws ExecutionException {\n-\t\tISelection selection = HandlerUtil.getCurrentSelection(event);\n+\t\tISelection selection = HandlerUtil.getActivePart(event).getSite().getWorkbenchWindow().getSelectionService().getSelection();","path":"plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/handler/DeleteResourceHandler.java","position":13,"original_position":13,"commit_id":"ae9daa0576831ac3033b01a6f0e7aa6f9f0e33b7","original_commit_id":"ae9daa0576831ac3033b01a6f0e7aa6f9f0e33b7","user":{"login":"jcantrill","id":4548408,"avatar_url":"https://avatars.githubusercontent.com/u/4548408?v=3","gravatar_id":"","url":"https://api.github.com/users/jcantrill","html_url":"https://github.com/jcantrill","followers_url":"https://api.github.com/users/jcantrill/followers","following_url":"https://api.github.com/users/jcantrill/following{/other_user}","gists_url":"https://api.github.com/users/jcantrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jcantrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcantrill/subscriptions","organizations_url":"https://api.github.com/users/jcantrill/orgs","repos_url":"https://api.github.com/users/jcantrill/repos","events_url":"https://api.github.com/users/jcantrill/events{/privacy}","received_events_url":"https://api.github.com/users/jcantrill/received_events","type":"User","site_admin":false},"body":"The former returns null when trying to select a row in the table.  This change should allow the handler to be used regardless if the event originates from the properties view or the explorer tree","created_at":"2015-12-23T17:32:30Z","updated_at":"2015-12-23T17:32:30Z","html_url":"https://github.com/jbosstools/jbosstools-openshift/pull/868#discussion_r48364289","pull_request_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868","_links":{"self":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments/48364289"},"html":{"href":"https://github.com/jbosstools/jbosstools-openshift/pull/868#discussion_r48364289"},"pull_request":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868"}}},"pull_request":{"url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868","id":54470082,"html_url":"https://github.com/jbosstools/jbosstools-openshift/pull/868","diff_url":"https://github.com/jbosstools/jbosstools-openshift/pull/868.diff","patch_url":"https://github.com/jbosstools/jbosstools-openshift/pull/868.patch","issue_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/868","number":868,"state":"open","locked":false,"title":"WIP - [JBIDE-21359] Add build tab to explorer deployment view","user":{"login":"jcantrill","id":4548408,"avatar_url":"https://avatars.githubusercontent.com/u/4548408?v=3","gravatar_id":"","url":"https://api.github.com/users/jcantrill","html_url":"https://github.com/jcantrill","followers_url":"https://api.github.com/users/jcantrill/followers","following_url":"https://api.github.com/users/jcantrill/following{/other_user}","gists_url":"https://api.github.com/users/jcantrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jcantrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcantrill/subscriptions","organizations_url":"https://api.github.com/users/jcantrill/orgs","repos_url":"https://api.github.com/users/jcantrill/repos","events_url":"https://api.github.com/users/jcantrill/events{/privacy}","received_events_url":"https://api.github.com/users/jcantrill/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-23T13:40:06Z","updated_at":"2015-12-23T17:32:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"818caa3581ac804e025a7b8d275078a5d9a5f8e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868/commits","review_comments_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868/comments","review_comment_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/868/comments","statuses_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/statuses/ae9daa0576831ac3033b01a6f0e7aa6f9f0e33b7","head":{"label":"jcantrill:21359_builds_tab","ref":"21359_builds_tab","sha":"ae9daa0576831ac3033b01a6f0e7aa6f9f0e33b7","user":{"login":"jcantrill","id":4548408,"avatar_url":"https://avatars.githubusercontent.com/u/4548408?v=3","gravatar_id":"","url":"https://api.github.com/users/jcantrill","html_url":"https://github.com/jcantrill","followers_url":"https://api.github.com/users/jcantrill/followers","following_url":"https://api.github.com/users/jcantrill/following{/other_user}","gists_url":"https://api.github.com/users/jcantrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jcantrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcantrill/subscriptions","organizations_url":"https://api.github.com/users/jcantrill/orgs","repos_url":"https://api.github.com/users/jcantrill/repos","events_url":"https://api.github.com/users/jcantrill/events{/privacy}","received_events_url":"https://api.github.com/users/jcantrill/received_events","type":"User","site_admin":false},"repo":{"id":21654912,"name":"jbosstools-openshift","full_name":"jcantrill/jbosstools-openshift","owner":{"login":"jcantrill","id":4548408,"avatar_url":"https://avatars.githubusercontent.com/u/4548408?v=3","gravatar_id":"","url":"https://api.github.com/users/jcantrill","html_url":"https://github.com/jcantrill","followers_url":"https://api.github.com/users/jcantrill/followers","following_url":"https://api.github.com/users/jcantrill/following{/other_user}","gists_url":"https://api.github.com/users/jcantrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jcantrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcantrill/subscriptions","organizations_url":"https://api.github.com/users/jcantrill/orgs","repos_url":"https://api.github.com/users/jcantrill/repos","events_url":"https://api.github.com/users/jcantrill/events{/privacy}","received_events_url":"https://api.github.com/users/jcantrill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcantrill/jbosstools-openshift","description":"JBoss Tools :: OpenShift { openshift }","fork":true,"url":"https://api.github.com/repos/jcantrill/jbosstools-openshift","forks_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/forks","keys_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/teams","hooks_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/hooks","issue_events_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/issues/events{/number}","events_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/events","assignees_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/assignees{/user}","branches_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/branches{/branch}","tags_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/tags","blobs_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/statuses/{sha}","languages_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/languages","stargazers_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/stargazers","contributors_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/contributors","subscribers_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/subscribers","subscription_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/subscription","commits_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/contents/{+path}","compare_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/merges","archive_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/downloads","issues_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/issues{/number}","pulls_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/pulls{/number}","milestones_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/milestones{/number}","notifications_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/labels{/name}","releases_url":"https://api.github.com/repos/jcantrill/jbosstools-openshift/releases{/id}","created_at":"2014-07-09T14:19:31Z","updated_at":"2015-06-04T22:37:01Z","pushed_at":"2015-12-23T13:38:58Z","git_url":"git://github.com/jcantrill/jbosstools-openshift.git","ssh_url":"git@github.com:jcantrill/jbosstools-openshift.git","clone_url":"https://github.com/jcantrill/jbosstools-openshift.git","svn_url":"https://github.com/jcantrill/jbosstools-openshift","homepage":"","size":14402,"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":"jbosstools:jbosstools-4.3.x","ref":"jbosstools-4.3.x","sha":"e7dde4151339ab12d92198131db3f0b0bbec33ce","user":{"login":"jbosstools","id":619871,"avatar_url":"https://avatars.githubusercontent.com/u/619871?v=3","gravatar_id":"","url":"https://api.github.com/users/jbosstools","html_url":"https://github.com/jbosstools","followers_url":"https://api.github.com/users/jbosstools/followers","following_url":"https://api.github.com/users/jbosstools/following{/other_user}","gists_url":"https://api.github.com/users/jbosstools/gists{/gist_id}","starred_url":"https://api.github.com/users/jbosstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbosstools/subscriptions","organizations_url":"https://api.github.com/users/jbosstools/orgs","repos_url":"https://api.github.com/users/jbosstools/repos","events_url":"https://api.github.com/users/jbosstools/events{/privacy}","received_events_url":"https://api.github.com/users/jbosstools/received_events","type":"Organization","site_admin":false},"repo":{"id":6308288,"name":"jbosstools-openshift","full_name":"jbosstools/jbosstools-openshift","owner":{"login":"jbosstools","id":619871,"avatar_url":"https://avatars.githubusercontent.com/u/619871?v=3","gravatar_id":"","url":"https://api.github.com/users/jbosstools","html_url":"https://github.com/jbosstools","followers_url":"https://api.github.com/users/jbosstools/followers","following_url":"https://api.github.com/users/jbosstools/following{/other_user}","gists_url":"https://api.github.com/users/jbosstools/gists{/gist_id}","starred_url":"https://api.github.com/users/jbosstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbosstools/subscriptions","organizations_url":"https://api.github.com/users/jbosstools/orgs","repos_url":"https://api.github.com/users/jbosstools/repos","events_url":"https://api.github.com/users/jbosstools/events{/privacy}","received_events_url":"https://api.github.com/users/jbosstools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jbosstools/jbosstools-openshift","description":"JBoss Tools :: OpenShift { openshift }","fork":false,"url":"https://api.github.com/repos/jbosstools/jbosstools-openshift","forks_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/forks","keys_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/teams","hooks_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/hooks","issue_events_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/events{/number}","events_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/events","assignees_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/assignees{/user}","branches_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/branches{/branch}","tags_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/tags","blobs_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/statuses/{sha}","languages_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/languages","stargazers_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/stargazers","contributors_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/contributors","subscribers_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/subscribers","subscription_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/subscription","commits_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/contents/{+path}","compare_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/merges","archive_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/downloads","issues_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues{/number}","pulls_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls{/number}","milestones_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/milestones{/number}","notifications_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/labels{/name}","releases_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/releases{/id}","created_at":"2012-10-20T11:23:01Z","updated_at":"2015-08-11T20:47:08Z","pushed_at":"2015-12-23T13:40:06Z","git_url":"git://github.com/jbosstools/jbosstools-openshift.git","ssh_url":"git@github.com:jbosstools/jbosstools-openshift.git","clone_url":"https://github.com/jbosstools/jbosstools-openshift.git","svn_url":"https://github.com/jbosstools/jbosstools-openshift","homepage":"","size":15417,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":7,"forks":36,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868"},"html":{"href":"https://github.com/jbosstools/jbosstools-openshift/pull/868"},"issue":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/868"},"comments":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/868/comments"},"review_comments":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868/comments"},"review_comment":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/868/commits"},"statuses":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/statuses/ae9daa0576831ac3033b01a6f0e7aa6f9f0e33b7"}}}}