{"issue":{"state":"closed","created_at":"2011-11-22T09:08:58Z","updated_at":"2011-11-22T09:11:00Z","comments":1,"user":{"gravatar_id":"ecb2935ec2f11f77287d9ee5901b8339","id":282396,"url":"https://api.github.com/users/eamonnmag","login":"eamonnmag","avatar_url":"https://secure.gravatar.com/avatar/ecb2935ec2f11f77287d9ee5901b8339?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Requested by Pablo and metabolights developers.","assignee":{"gravatar_id":"ecb2935ec2f11f77287d9ee5901b8339","id":282396,"url":"https://api.github.com/users/eamonnmag","login":"eamonnmag","avatar_url":"https://secure.gravatar.com/avatar/ecb2935ec2f11f77287d9ee5901b8339?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2315862,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature Request","color":"3fbffa","url":"https://api.github.com/repos/ISA-tools/ISAcreator/labels/Feature+Request"}],"number":104,"title":"Provide ability to listen in on copy paste events in Spreadsheet.","closed_at":"2011-11-22T09:10:14Z","html_url":"https://github.com/ISA-tools/ISAcreator/issues/104","url":"https://api.github.com/repos/ISA-tools/ISAcreator/issues/104","milestone":null},"action":"created","comment":{"created_at":"2011-11-22T09:11:00Z","updated_at":"2011-11-22T09:11:00Z","user":{"gravatar_id":"ecb2935ec2f11f77287d9ee5901b8339","id":282396,"url":"https://api.github.com/users/eamonnmag","login":"eamonnmag","avatar_url":"https://secure.gravatar.com/avatar/ecb2935ec2f11f77287d9ee5901b8339?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"When an observer is registered to the spreadsheet, it can be notified of any copy/paste event which goes on.\r\n\r\nmySpreadsheet.registerCopyPasteObserver(new CopyPasteObserver() {\r\n                public void notifyOfEvent(SpreadsheetEvent event) {\r\n                    if(event == SpreadsheetEvent.COPY) {\r\n                        System.out.println(\"Copy event recorded\");\r\n                    }\r\n\r\n                    if(event == SpreadsheetEvent.PASTE) {\r\n                        System.out.println(\"Paste event recorded\");\r\n                    }\r\n                }\r\n            });","id":2832045,"url":"https://api.github.com/repos/ISA-tools/ISAcreator/issues/comments/2832045"}}