{"action":"created","comment":{"url":"https://api.github.com/repos/wandernauta/Groep10/pulls/comments/27228067","id":27228067,"diff_hunk":"@@ -23,17 +28,20 @@\n \tprivate String[] arguments;\n \t/** The name of this Function.**/\n \tprivate String functionName;\n-\t\n+\t/** intstance to create Events for this FunctionBlock. **/\n+\tprivate static CustomGesture cg;\n+\t\t\n \t/**\n \t * Method that creates a newInstance of this class along with it's visual representation\n \t * @param the number of arguments this FunctionBlock can hold\n \t * @return a new instance of this class\n \t * @throws IOException\n \t */\n-\tpublic static FunctionBlock newInstance(int numberOfArguments) throws IOException {\n+\tpublic static FunctionBlock newInstance(int numberOfArguments, CustomUIPane pane) throws IOException {","path":"Code/src/main/java/nl/utwente/group10/ui/components/FunctionBlock.java","position":28,"original_position":28,"commit_id":"305d54ed36743ad4509ae0feb6b2dacd17d7feaf","original_commit_id":"305d54ed36743ad4509ae0feb6b2dacd17d7feaf","user":{"login":"wandernauta","id":126832,"avatar_url":"https://avatars.githubusercontent.com/u/126832?v=3","gravatar_id":"","url":"https://api.github.com/users/wandernauta","html_url":"https://github.com/wandernauta","followers_url":"https://api.github.com/users/wandernauta/followers","following_url":"https://api.github.com/users/wandernauta/following{/other_user}","gists_url":"https://api.github.com/users/wandernauta/gists{/gist_id}","starred_url":"https://api.github.com/users/wandernauta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandernauta/subscriptions","organizations_url":"https://api.github.com/users/wandernauta/orgs","repos_url":"https://api.github.com/users/wandernauta/repos","events_url":"https://api.github.com/users/wandernauta/events{/privacy}","received_events_url":"https://api.github.com/users/wandernauta/received_events","type":"User","site_admin":false},"body":"If possible, update the JavaDoc to mention what kind of pane you expect and why it needs to be passed.","created_at":"2015-03-26T16:13:39Z","updated_at":"2015-03-26T16:13:39Z","html_url":"https://github.com/wandernauta/Groep10/pull/23#discussion_r27228067","pull_request_url":"https://api.github.com/repos/wandernauta/Groep10/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/wandernauta/Groep10/pulls/comments/27228067"},"html":{"href":"https://github.com/wandernauta/Groep10/pull/23#discussion_r27228067"},"pull_request":{"href":"https://api.github.com/repos/wandernauta/Groep10/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/wandernauta/Groep10/pulls/23","id":32030062,"html_url":"https://github.com/wandernauta/Groep10/pull/23","diff_url":"https://github.com/wandernauta/Groep10/pull/23.diff","patch_url":"https://github.com/wandernauta/Groep10/pull/23.patch","issue_url":"https://api.github.com/repos/wandernauta/Groep10/issues/23","number":23,"state":"open","locked":false,"title":"function block select & drag gesture","user":{"login":"Kristel-92","id":10989853,"avatar_url":"https://avatars.githubusercontent.com/u/10989853?v=3","gravatar_id":"","url":"https://api.github.com/users/Kristel-92","html_url":"https://github.com/Kristel-92","followers_url":"https://api.github.com/users/Kristel-92/followers","following_url":"https://api.github.com/users/Kristel-92/following{/other_user}","gists_url":"https://api.github.com/users/Kristel-92/gists{/gist_id}","starred_url":"https://api.github.com/users/Kristel-92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kristel-92/subscriptions","organizations_url":"https://api.github.com/users/Kristel-92/orgs","repos_url":"https://api.github.com/users/Kristel-92/repos","events_url":"https://api.github.com/users/Kristel-92/events{/privacy}","received_events_url":"https://api.github.com/users/Kristel-92/received_events","type":"User","site_admin":false},"body":"CustomGestureEvent wordt niet meer gebruikt. In plaats hiervan is dit nu UIEvent. De code is echter hetzelfde gebleven. Verder vangt (Function)Block nu ook events af en houdt een (Function)Block bij in welke CustomUIPane deze zit i.v.m. het selecteren van ander (Function)Blocks.\r\nEen (Function)Block kan nu geselecteerd worden door er op te klikken. Bij het klikken op een ander (Function)Block vervalt een eventuele andere selectie","created_at":"2015-03-26T15:43:05Z","updated_at":"2015-03-26T16:13:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"062a7675ec959575ee95f9429492b245396df91b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wandernauta/Groep10/pulls/23/commits","review_comments_url":"https://api.github.com/repos/wandernauta/Groep10/pulls/23/comments","review_comment_url":"https://api.github.com/repos/wandernauta/Groep10/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wandernauta/Groep10/issues/23/comments","statuses_url":"https://api.github.com/repos/wandernauta/Groep10/statuses/305d54ed36743ad4509ae0feb6b2dacd17d7feaf","head":{"label":"wandernauta:ui-gestures-nieuw","ref":"ui-gestures-nieuw","sha":"305d54ed36743ad4509ae0feb6b2dacd17d7feaf","user":{"login":"wandernauta","id":126832,"avatar_url":"https://avatars.githubusercontent.com/u/126832?v=3","gravatar_id":"","url":"https://api.github.com/users/wandernauta","html_url":"https://github.com/wandernauta","followers_url":"https://api.github.com/users/wandernauta/followers","following_url":"https://api.github.com/users/wandernauta/following{/other_user}","gists_url":"https://api.github.com/users/wandernauta/gists{/gist_id}","starred_url":"https://api.github.com/users/wandernauta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandernauta/subscriptions","organizations_url":"https://api.github.com/users/wandernauta/orgs","repos_url":"https://api.github.com/users/wandernauta/repos","events_url":"https://api.github.com/users/wandernauta/events{/privacy}","received_events_url":"https://api.github.com/users/wandernauta/received_events","type":"User","site_admin":false},"repo":{"id":30242992,"name":"Groep10","full_name":"wandernauta/Groep10","owner":{"login":"wandernauta","id":126832,"avatar_url":"https://avatars.githubusercontent.com/u/126832?v=3","gravatar_id":"","url":"https://api.github.com/users/wandernauta","html_url":"https://github.com/wandernauta","followers_url":"https://api.github.com/users/wandernauta/followers","following_url":"https://api.github.com/users/wandernauta/following{/other_user}","gists_url":"https://api.github.com/users/wandernauta/gists{/gist_id}","starred_url":"https://api.github.com/users/wandernauta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandernauta/subscriptions","organizations_url":"https://api.github.com/users/wandernauta/orgs","repos_url":"https://api.github.com/users/wandernauta/repos","events_url":"https://api.github.com/users/wandernauta/events{/privacy}","received_events_url":"https://api.github.com/users/wandernauta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wandernauta/Groep10","description":"Ontwerpproject.","fork":false,"url":"https://api.github.com/repos/wandernauta/Groep10","forks_url":"https://api.github.com/repos/wandernauta/Groep10/forks","keys_url":"https://api.github.com/repos/wandernauta/Groep10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wandernauta/Groep10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wandernauta/Groep10/teams","hooks_url":"https://api.github.com/repos/wandernauta/Groep10/hooks","issue_events_url":"https://api.github.com/repos/wandernauta/Groep10/issues/events{/number}","events_url":"https://api.github.com/repos/wandernauta/Groep10/events","assignees_url":"https://api.github.com/repos/wandernauta/Groep10/assignees{/user}","branches_url":"https://api.github.com/repos/wandernauta/Groep10/branches{/branch}","tags_url":"https://api.github.com/repos/wandernauta/Groep10/tags","blobs_url":"https://api.github.com/repos/wandernauta/Groep10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wandernauta/Groep10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wandernauta/Groep10/git/refs{/sha}","trees_url":"https://api.github.com/repos/wandernauta/Groep10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wandernauta/Groep10/statuses/{sha}","languages_url":"https://api.github.com/repos/wandernauta/Groep10/languages","stargazers_url":"https://api.github.com/repos/wandernauta/Groep10/stargazers","contributors_url":"https://api.github.com/repos/wandernauta/Groep10/contributors","subscribers_url":"https://api.github.com/repos/wandernauta/Groep10/subscribers","subscription_url":"https://api.github.com/repos/wandernauta/Groep10/subscription","commits_url":"https://api.github.com/repos/wandernauta/Groep10/commits{/sha}","git_commits_url":"https://api.github.com/repos/wandernauta/Groep10/git/commits{/sha}","comments_url":"https://api.github.com/repos/wandernauta/Groep10/comments{/number}","issue_comment_url":"https://api.github.com/repos/wandernauta/Groep10/issues/comments{/number}","contents_url":"https://api.github.com/repos/wandernauta/Groep10/contents/{+path}","compare_url":"https://api.github.com/repos/wandernauta/Groep10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wandernauta/Groep10/merges","archive_url":"https://api.github.com/repos/wandernauta/Groep10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wandernauta/Groep10/downloads","issues_url":"https://api.github.com/repos/wandernauta/Groep10/issues{/number}","pulls_url":"https://api.github.com/repos/wandernauta/Groep10/pulls{/number}","milestones_url":"https://api.github.com/repos/wandernauta/Groep10/milestones{/number}","notifications_url":"https://api.github.com/repos/wandernauta/Groep10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wandernauta/Groep10/labels{/name}","releases_url":"https://api.github.com/repos/wandernauta/Groep10/releases{/id}","created_at":"2015-02-03T13:04:49Z","updated_at":"2015-03-24T18:12:52Z","pushed_at":"2015-03-26T16:09:14Z","git_url":"git://github.com/wandernauta/Groep10.git","ssh_url":"git@github.com:wandernauta/Groep10.git","clone_url":"https://github.com/wandernauta/Groep10.git","svn_url":"https://github.com/wandernauta/Groep10","homepage":null,"size":2423,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"wandernauta:master","ref":"master","sha":"7ded47ea6ef46eeeb3d0fca56a9d42a8a9593f4d","user":{"login":"wandernauta","id":126832,"avatar_url":"https://avatars.githubusercontent.com/u/126832?v=3","gravatar_id":"","url":"https://api.github.com/users/wandernauta","html_url":"https://github.com/wandernauta","followers_url":"https://api.github.com/users/wandernauta/followers","following_url":"https://api.github.com/users/wandernauta/following{/other_user}","gists_url":"https://api.github.com/users/wandernauta/gists{/gist_id}","starred_url":"https://api.github.com/users/wandernauta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandernauta/subscriptions","organizations_url":"https://api.github.com/users/wandernauta/orgs","repos_url":"https://api.github.com/users/wandernauta/repos","events_url":"https://api.github.com/users/wandernauta/events{/privacy}","received_events_url":"https://api.github.com/users/wandernauta/received_events","type":"User","site_admin":false},"repo":{"id":30242992,"name":"Groep10","full_name":"wandernauta/Groep10","owner":{"login":"wandernauta","id":126832,"avatar_url":"https://avatars.githubusercontent.com/u/126832?v=3","gravatar_id":"","url":"https://api.github.com/users/wandernauta","html_url":"https://github.com/wandernauta","followers_url":"https://api.github.com/users/wandernauta/followers","following_url":"https://api.github.com/users/wandernauta/following{/other_user}","gists_url":"https://api.github.com/users/wandernauta/gists{/gist_id}","starred_url":"https://api.github.com/users/wandernauta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wandernauta/subscriptions","organizations_url":"https://api.github.com/users/wandernauta/orgs","repos_url":"https://api.github.com/users/wandernauta/repos","events_url":"https://api.github.com/users/wandernauta/events{/privacy}","received_events_url":"https://api.github.com/users/wandernauta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wandernauta/Groep10","description":"Ontwerpproject.","fork":false,"url":"https://api.github.com/repos/wandernauta/Groep10","forks_url":"https://api.github.com/repos/wandernauta/Groep10/forks","keys_url":"https://api.github.com/repos/wandernauta/Groep10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wandernauta/Groep10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wandernauta/Groep10/teams","hooks_url":"https://api.github.com/repos/wandernauta/Groep10/hooks","issue_events_url":"https://api.github.com/repos/wandernauta/Groep10/issues/events{/number}","events_url":"https://api.github.com/repos/wandernauta/Groep10/events","assignees_url":"https://api.github.com/repos/wandernauta/Groep10/assignees{/user}","branches_url":"https://api.github.com/repos/wandernauta/Groep10/branches{/branch}","tags_url":"https://api.github.com/repos/wandernauta/Groep10/tags","blobs_url":"https://api.github.com/repos/wandernauta/Groep10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wandernauta/Groep10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wandernauta/Groep10/git/refs{/sha}","trees_url":"https://api.github.com/repos/wandernauta/Groep10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wandernauta/Groep10/statuses/{sha}","languages_url":"https://api.github.com/repos/wandernauta/Groep10/languages","stargazers_url":"https://api.github.com/repos/wandernauta/Groep10/stargazers","contributors_url":"https://api.github.com/repos/wandernauta/Groep10/contributors","subscribers_url":"https://api.github.com/repos/wandernauta/Groep10/subscribers","subscription_url":"https://api.github.com/repos/wandernauta/Groep10/subscription","commits_url":"https://api.github.com/repos/wandernauta/Groep10/commits{/sha}","git_commits_url":"https://api.github.com/repos/wandernauta/Groep10/git/commits{/sha}","comments_url":"https://api.github.com/repos/wandernauta/Groep10/comments{/number}","issue_comment_url":"https://api.github.com/repos/wandernauta/Groep10/issues/comments{/number}","contents_url":"https://api.github.com/repos/wandernauta/Groep10/contents/{+path}","compare_url":"https://api.github.com/repos/wandernauta/Groep10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wandernauta/Groep10/merges","archive_url":"https://api.github.com/repos/wandernauta/Groep10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wandernauta/Groep10/downloads","issues_url":"https://api.github.com/repos/wandernauta/Groep10/issues{/number}","pulls_url":"https://api.github.com/repos/wandernauta/Groep10/pulls{/number}","milestones_url":"https://api.github.com/repos/wandernauta/Groep10/milestones{/number}","notifications_url":"https://api.github.com/repos/wandernauta/Groep10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wandernauta/Groep10/labels{/name}","releases_url":"https://api.github.com/repos/wandernauta/Groep10/releases{/id}","created_at":"2015-02-03T13:04:49Z","updated_at":"2015-03-24T18:12:52Z","pushed_at":"2015-03-26T16:09:14Z","git_url":"git://github.com/wandernauta/Groep10.git","ssh_url":"git@github.com:wandernauta/Groep10.git","clone_url":"https://github.com/wandernauta/Groep10.git","svn_url":"https://github.com/wandernauta/Groep10","homepage":null,"size":2423,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wandernauta/Groep10/pulls/23"},"html":{"href":"https://github.com/wandernauta/Groep10/pull/23"},"issue":{"href":"https://api.github.com/repos/wandernauta/Groep10/issues/23"},"comments":{"href":"https://api.github.com/repos/wandernauta/Groep10/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/wandernauta/Groep10/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/wandernauta/Groep10/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wandernauta/Groep10/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/wandernauta/Groep10/statuses/305d54ed36743ad4509ae0feb6b2dacd17d7feaf"}}}}