{"action":"created","issue":{"url":"https://api.github.com/repos/oetiker/issuetest2/issues/81","repository_url":"https://api.github.com/repos/oetiker/issuetest2","labels_url":"https://api.github.com/repos/oetiker/issuetest2/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/oetiker/issuetest2/issues/81/comments","events_url":"https://api.github.com/repos/oetiker/issuetest2/issues/81/events","html_url":"https://github.com/oetiker/issuetest2/issues/81","id":138225246,"number":81,"title":"destroy and destroyContent for qx.ui.tree (bz#178)\n","user":{"login":"oetiker","id":429279,"avatar_url":"https://avatars.githubusercontent.com/u/429279?v=3","gravatar_id":"","url":"https://api.github.com/users/oetiker","html_url":"https://github.com/oetiker","followers_url":"https://api.github.com/users/oetiker/followers","following_url":"https://api.github.com/users/oetiker/following{/other_user}","gists_url":"https://api.github.com/users/oetiker/gists{/gist_id}","starred_url":"https://api.github.com/users/oetiker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oetiker/subscriptions","organizations_url":"https://api.github.com/users/oetiker/orgs","repos_url":"https://api.github.com/users/oetiker/repos","events_url":"https://api.github.com/users/oetiker/events{/privacy}","received_events_url":"https://api.github.com/users/oetiker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oetiker/issuetest2/labels/COMP:desktop","name":"COMP:desktop","color":"ffe502"},{"url":"https://api.github.com/repos/oetiker/issuetest2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/oetiker/issuetest2/labels/PROD:framework","name":"PROD:framework","color":"ffdb66"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-03T16:24:33Z","updated_at":"2016-03-03T16:24:41Z","closed_at":null,"body":"This patch adds methods \n\n1) destroy to qx.ui.tree.AbstractTreeElement which deselects, disconnects, removes and disposes the  current tree element and its content.\n\n2) destroyContent to qx.ui.tree.TreeFolder which deselects, disconnects, removes and disposes the content of the folder and its subfolders.\n\n\nA testcase Table_7.html for frontend/demo/build/html/test is also attached which demonstrates the usage of the new methods.\n\n<table>\n<tbody>\n<tr><td>Date</td><td>2006-09-27 11:33:00 +0200</td></tr>\n<tr><td>Reporter</td><td>Dietrich Streifert (dietrich.streifert)</td></tr>\n</tbody>\n</table>\n"},"comment":{"url":"https://api.github.com/repos/oetiker/issuetest2/issues/comments/191836771","html_url":"https://github.com/oetiker/issuetest2/issues/81#issuecomment-191836771","issue_url":"https://api.github.com/repos/oetiker/issuetest2/issues/81","id":191836771,"user":{"login":"oetiker","id":429279,"avatar_url":"https://avatars.githubusercontent.com/u/429279?v=3","gravatar_id":"","url":"https://api.github.com/users/oetiker","html_url":"https://github.com/oetiker","followers_url":"https://api.github.com/users/oetiker/followers","following_url":"https://api.github.com/users/oetiker/following{/other_user}","gists_url":"https://api.github.com/users/oetiker/gists{/gist_id}","starred_url":"https://api.github.com/users/oetiker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oetiker/subscriptions","organizations_url":"https://api.github.com/users/oetiker/orgs","repos_url":"https://api.github.com/users/oetiker/repos","events_url":"https://api.github.com/users/oetiker/events{/privacy}","received_events_url":"https://api.github.com/users/oetiker/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T16:24:41Z","updated_at":"2016-03-03T16:24:41Z","body":"OK I&#39;ll put additional comments to the methods.\n\ndestroyContent: destroy the current items subitems (and the subitems of each subitem)  going top down the TreeFolder hierarchy. The current item is left as is.\n\ndestroy: destroy the current item (TreeFile or TreeFolder) and all its subitems. The destruction of the subitems is done by calling destroyContent. This is done if the subitem has the method destroyContent which is true if the subitem is a TreeFolder. The method destroy Content is defined in the TreeFolder class.\n\n\n\n<table>\n<tbody>\n<tr><td>Date</td><td>2006-09-28 07:52:13 +0200</td></tr>\n<tr><td>Who</td><td>Dietrich Streifert (dietrich.streifert)</td></tr>\n</tbody>\n</table>\n"}}