{"action":"created","comment":{"url":"https://api.github.com/repos/NetLogo/NetLogo/pulls/comments/170696709","pull_request_review_id":99422448,"id":170696709,"diff_hunk":"@@ -139,6 +136,44 @@ private [gui] class ProgressDialog(dialog: java.awt.Dialog, supervisor: Supervis\n       workspace.jobManager.finishSecondaryJobs(null)\n     }\n   }\n+\n+  def updateView(check:Boolean): Unit = {\n+    displaySwitch.setSelected(check)\n+    workspace.displaySwitchOn(check)\n+  }\n+\n+  def setUpdateView(status:Boolean): Unit = {\n+    if(status){\n+      updateView(true)\n+    }\n+    else {\n+      updateView(false)\n+    }\n+  }\n+\n+  def plotsAndMonitorsSwitch(check:Boolean): Unit = {\n+    if(check){\n+      plotsAndMonitorsSwitch.setSelected(true)\n+      workspace.setPeriodicUpdatesEnabled(true)\n+    }\n+    else {\n+      plotsAndMonitorsSwitch.setSelected(false)\n+      workspace.setPeriodicUpdatesEnabled(false)\n+      workspace.jobManager.finishSecondaryJobs(null)\n+    }\n+  }\n+\n+  def setPlotsAndMonitorsSwitch(status:Boolean): Unit = {\n+    if(status){\n+      plotsAndMonitorsSwitch(true)\n+      updatePlots = true\n+    }\n+    else {\n+      plotsAndMonitorsSwitch(false)\n+      updatePlots = false\n+    }","path":"netlogo-gui/src/main/lab/gui/ProgressDialog.scala","position":74,"original_position":79,"commit_id":"50a450bc25f729274a70c77c13632e9f86451c1e","original_commit_id":"523f98ee806da3ce4ad5c85a9b4f886dded63fa9","user":{"login":"diparthshah","id":13984495,"avatar_url":"https://avatars1.githubusercontent.com/u/13984495?v=4","gravatar_id":"","url":"https://api.github.com/users/diparthshah","html_url":"https://github.com/diparthshah","followers_url":"https://api.github.com/users/diparthshah/followers","following_url":"https://api.github.com/users/diparthshah/following{/other_user}","gists_url":"https://api.github.com/users/diparthshah/gists{/gist_id}","starred_url":"https://api.github.com/users/diparthshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diparthshah/subscriptions","organizations_url":"https://api.github.com/users/diparthshah/orgs","repos_url":"https://api.github.com/users/diparthshah/repos","events_url":"https://api.github.com/users/diparthshah/events{/privacy}","received_events_url":"https://api.github.com/users/diparthshah/received_events","type":"User","site_admin":false},"body":"Method was supposed to work in this way,make proper changes and produce the expected results or there is a better way of doing this ?","created_at":"2018-02-26T18:54:05Z","updated_at":"2018-02-26T18:54:05Z","html_url":"https://github.com/NetLogo/NetLogo/pull/1572#discussion_r170696709","pull_request_url":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/NetLogo/NetLogo/pulls/comments/170696709"},"html":{"href":"https://github.com/NetLogo/NetLogo/pull/1572#discussion_r170696709"},"pull_request":{"href":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572"}},"in_reply_to_id":169648190},"pull_request":{"url":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572","id":170467316,"html_url":"https://github.com/NetLogo/NetLogo/pull/1572","diff_url":"https://github.com/NetLogo/NetLogo/pull/1572.diff","patch_url":"https://github.com/NetLogo/NetLogo/pull/1572.patch","issue_url":"https://api.github.com/repos/NetLogo/NetLogo/issues/1572","number":1572,"state":"open","locked":false,"title":"Add new options in RunOptionsDialog","user":{"login":"diparthshah","id":13984495,"avatar_url":"https://avatars1.githubusercontent.com/u/13984495?v=4","gravatar_id":"","url":"https://api.github.com/users/diparthshah","html_url":"https://github.com/diparthshah","followers_url":"https://api.github.com/users/diparthshah/followers","following_url":"https://api.github.com/users/diparthshah/following{/other_user}","gists_url":"https://api.github.com/users/diparthshah/gists{/gist_id}","starred_url":"https://api.github.com/users/diparthshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diparthshah/subscriptions","organizations_url":"https://api.github.com/users/diparthshah/orgs","repos_url":"https://api.github.com/users/diparthshah/repos","events_url":"https://api.github.com/users/diparthshah/events{/privacy}","received_events_url":"https://api.github.com/users/diparthshah/received_events","type":"User","site_admin":false},"body":"fix for issue : #1376 \r\nprevious pull request got accidentally closed while resetting the fork HEAD.\r\nthis pull request provides full fix.\r\nsorry for the trouble.","created_at":"2018-02-21T13:19:10Z","updated_at":"2018-02-26T18:54:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a114da48176d0435e4f62454f3d707b376d01e5e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572/commits","review_comments_url":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572/comments","review_comment_url":"https://api.github.com/repos/NetLogo/NetLogo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NetLogo/NetLogo/issues/1572/comments","statuses_url":"https://api.github.com/repos/NetLogo/NetLogo/statuses/50a450bc25f729274a70c77c13632e9f86451c1e","head":{"label":"diparthshah:hexy","ref":"hexy","sha":"50a450bc25f729274a70c77c13632e9f86451c1e","user":{"login":"diparthshah","id":13984495,"avatar_url":"https://avatars1.githubusercontent.com/u/13984495?v=4","gravatar_id":"","url":"https://api.github.com/users/diparthshah","html_url":"https://github.com/diparthshah","followers_url":"https://api.github.com/users/diparthshah/followers","following_url":"https://api.github.com/users/diparthshah/following{/other_user}","gists_url":"https://api.github.com/users/diparthshah/gists{/gist_id}","starred_url":"https://api.github.com/users/diparthshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diparthshah/subscriptions","organizations_url":"https://api.github.com/users/diparthshah/orgs","repos_url":"https://api.github.com/users/diparthshah/repos","events_url":"https://api.github.com/users/diparthshah/events{/privacy}","received_events_url":"https://api.github.com/users/diparthshah/received_events","type":"User","site_admin":false},"repo":{"id":121767336,"name":"NetLogo","full_name":"diparthshah/NetLogo","owner":{"login":"diparthshah","id":13984495,"avatar_url":"https://avatars1.githubusercontent.com/u/13984495?v=4","gravatar_id":"","url":"https://api.github.com/users/diparthshah","html_url":"https://github.com/diparthshah","followers_url":"https://api.github.com/users/diparthshah/followers","following_url":"https://api.github.com/users/diparthshah/following{/other_user}","gists_url":"https://api.github.com/users/diparthshah/gists{/gist_id}","starred_url":"https://api.github.com/users/diparthshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diparthshah/subscriptions","organizations_url":"https://api.github.com/users/diparthshah/orgs","repos_url":"https://api.github.com/users/diparthshah/repos","events_url":"https://api.github.com/users/diparthshah/events{/privacy}","received_events_url":"https://api.github.com/users/diparthshah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diparthshah/NetLogo","description":"turtles, patches, and links for kids, teachers, and scientists","fork":true,"url":"https://api.github.com/repos/diparthshah/NetLogo","forks_url":"https://api.github.com/repos/diparthshah/NetLogo/forks","keys_url":"https://api.github.com/repos/diparthshah/NetLogo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diparthshah/NetLogo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diparthshah/NetLogo/teams","hooks_url":"https://api.github.com/repos/diparthshah/NetLogo/hooks","issue_events_url":"https://api.github.com/repos/diparthshah/NetLogo/issues/events{/number}","events_url":"https://api.github.com/repos/diparthshah/NetLogo/events","assignees_url":"https://api.github.com/repos/diparthshah/NetLogo/assignees{/user}","branches_url":"https://api.github.com/repos/diparthshah/NetLogo/branches{/branch}","tags_url":"https://api.github.com/repos/diparthshah/NetLogo/tags","blobs_url":"https://api.github.com/repos/diparthshah/NetLogo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diparthshah/NetLogo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diparthshah/NetLogo/git/refs{/sha}","trees_url":"https://api.github.com/repos/diparthshah/NetLogo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diparthshah/NetLogo/statuses/{sha}","languages_url":"https://api.github.com/repos/diparthshah/NetLogo/languages","stargazers_url":"https://api.github.com/repos/diparthshah/NetLogo/stargazers","contributors_url":"https://api.github.com/repos/diparthshah/NetLogo/contributors","subscribers_url":"https://api.github.com/repos/diparthshah/NetLogo/subscribers","subscription_url":"https://api.github.com/repos/diparthshah/NetLogo/subscription","commits_url":"https://api.github.com/repos/diparthshah/NetLogo/commits{/sha}","git_commits_url":"https://api.github.com/repos/diparthshah/NetLogo/git/commits{/sha}","comments_url":"https://api.github.com/repos/diparthshah/NetLogo/comments{/number}","issue_comment_url":"https://api.github.com/repos/diparthshah/NetLogo/issues/comments{/number}","contents_url":"https://api.github.com/repos/diparthshah/NetLogo/contents/{+path}","compare_url":"https://api.github.com/repos/diparthshah/NetLogo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diparthshah/NetLogo/merges","archive_url":"https://api.github.com/repos/diparthshah/NetLogo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diparthshah/NetLogo/downloads","issues_url":"https://api.github.com/repos/diparthshah/NetLogo/issues{/number}","pulls_url":"https://api.github.com/repos/diparthshah/NetLogo/pulls{/number}","milestones_url":"https://api.github.com/repos/diparthshah/NetLogo/milestones{/number}","notifications_url":"https://api.github.com/repos/diparthshah/NetLogo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diparthshah/NetLogo/labels{/name}","releases_url":"https://api.github.com/repos/diparthshah/NetLogo/releases{/id}","deployments_url":"https://api.github.com/repos/diparthshah/NetLogo/deployments","created_at":"2018-02-16T15:37:48Z","updated_at":"2018-02-16T15:37:55Z","pushed_at":"2018-02-24T10:41:41Z","git_url":"git://github.com/diparthshah/NetLogo.git","ssh_url":"git@github.com:diparthshah/NetLogo.git","clone_url":"https://github.com/diparthshah/NetLogo.git","svn_url":"https://github.com/diparthshah/NetLogo","homepage":"http://ccl.northwestern.edu/netlogo/","size":47563,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"hexy"}},"base":{"label":"NetLogo:hexy","ref":"hexy","sha":"3dbb96988c73d36c14c204691aea49943e33281e","user":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars1.githubusercontent.com/u/767367?v=4","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"repo":{"id":2594187,"name":"NetLogo","full_name":"NetLogo/NetLogo","owner":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars1.githubusercontent.com/u/767367?v=4","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NetLogo/NetLogo","description":"turtles, patches, and links for kids, teachers, and scientists","fork":false,"url":"https://api.github.com/repos/NetLogo/NetLogo","forks_url":"https://api.github.com/repos/NetLogo/NetLogo/forks","keys_url":"https://api.github.com/repos/NetLogo/NetLogo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetLogo/NetLogo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetLogo/NetLogo/teams","hooks_url":"https://api.github.com/repos/NetLogo/NetLogo/hooks","issue_events_url":"https://api.github.com/repos/NetLogo/NetLogo/issues/events{/number}","events_url":"https://api.github.com/repos/NetLogo/NetLogo/events","assignees_url":"https://api.github.com/repos/NetLogo/NetLogo/assignees{/user}","branches_url":"https://api.github.com/repos/NetLogo/NetLogo/branches{/branch}","tags_url":"https://api.github.com/repos/NetLogo/NetLogo/tags","blobs_url":"https://api.github.com/repos/NetLogo/NetLogo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetLogo/NetLogo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetLogo/NetLogo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetLogo/NetLogo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetLogo/NetLogo/statuses/{sha}","languages_url":"https://api.github.com/repos/NetLogo/NetLogo/languages","stargazers_url":"https://api.github.com/repos/NetLogo/NetLogo/stargazers","contributors_url":"https://api.github.com/repos/NetLogo/NetLogo/contributors","subscribers_url":"https://api.github.com/repos/NetLogo/NetLogo/subscribers","subscription_url":"https://api.github.com/repos/NetLogo/NetLogo/subscription","commits_url":"https://api.github.com/repos/NetLogo/NetLogo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetLogo/NetLogo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetLogo/NetLogo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetLogo/NetLogo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetLogo/NetLogo/contents/{+path}","compare_url":"https://api.github.com/repos/NetLogo/NetLogo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetLogo/NetLogo/merges","archive_url":"https://api.github.com/repos/NetLogo/NetLogo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetLogo/NetLogo/downloads","issues_url":"https://api.github.com/repos/NetLogo/NetLogo/issues{/number}","pulls_url":"https://api.github.com/repos/NetLogo/NetLogo/pulls{/number}","milestones_url":"https://api.github.com/repos/NetLogo/NetLogo/milestones{/number}","notifications_url":"https://api.github.com/repos/NetLogo/NetLogo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetLogo/NetLogo/labels{/name}","releases_url":"https://api.github.com/repos/NetLogo/NetLogo/releases{/id}","deployments_url":"https://api.github.com/repos/NetLogo/NetLogo/deployments","created_at":"2011-10-17T19:20:01Z","updated_at":"2018-02-25T15:56:21Z","pushed_at":"2018-02-26T16:05:59Z","git_url":"git://github.com/NetLogo/NetLogo.git","ssh_url":"git@github.com:NetLogo/NetLogo.git","clone_url":"https://github.com/NetLogo/NetLogo.git","svn_url":"https://github.com/NetLogo/NetLogo","homepage":"http://ccl.northwestern.edu/netlogo/","size":48782,"stargazers_count":441,"watchers_count":441,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"archived":false,"open_issues_count":318,"license":null,"forks":135,"open_issues":318,"watchers":441,"default_branch":"hexy"}},"_links":{"self":{"href":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572"},"html":{"href":"https://github.com/NetLogo/NetLogo/pull/1572"},"issue":{"href":"https://api.github.com/repos/NetLogo/NetLogo/issues/1572"},"comments":{"href":"https://api.github.com/repos/NetLogo/NetLogo/issues/1572/comments"},"review_comments":{"href":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572/comments"},"review_comment":{"href":"https://api.github.com/repos/NetLogo/NetLogo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NetLogo/NetLogo/pulls/1572/commits"},"statuses":{"href":"https://api.github.com/repos/NetLogo/NetLogo/statuses/50a450bc25f729274a70c77c13632e9f86451c1e"}},"author_association":"NONE"}}
{"actor":{"display_login":"diparthshah"}}