{"action":"opened","issue":{"url":"https://api.github.com/repos/ObeoNetwork/UML-Designer/issues/667","labels_url":"https://api.github.com/repos/ObeoNetwork/UML-Designer/issues/667/labels{/name}","comments_url":"https://api.github.com/repos/ObeoNetwork/UML-Designer/issues/667/comments","events_url":"https://api.github.com/repos/ObeoNetwork/UML-Designer/issues/667/events","html_url":"https://github.com/ObeoNetwork/UML-Designer/issues/667","id":73318449,"number":667,"title":"When pressing \"Suppr\" on a diagram element, the element is definitively deleted from model","user":{"login":"mbats","id":1185863,"avatar_url":"https://avatars.githubusercontent.com/u/1185863?v=3","gravatar_id":"","url":"https://api.github.com/users/mbats","html_url":"https://github.com/mbats","followers_url":"https://api.github.com/users/mbats/followers","following_url":"https://api.github.com/users/mbats/following{/other_user}","gists_url":"https://api.github.com/users/mbats/gists{/gist_id}","starred_url":"https://api.github.com/users/mbats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbats/subscriptions","organizations_url":"https://api.github.com/users/mbats/orgs","repos_url":"https://api.github.com/users/mbats/repos","events_url":"https://api.github.com/users/mbats/events{/privacy}","received_events_url":"https://api.github.com/users/mbats/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ObeoNetwork/UML-Designer/labels/All","name":"All","color":"8d11aa"},{"url":"https://api.github.com/repos/ObeoNetwork/UML-Designer/labels/Class%20diagram","name":"Class diagram","color":"fc4657"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T13:40:39Z","updated_at":"2015-05-05T13:40:39Z","closed_at":null,"body":"In most of the cases, the deletion can be cancelled by presing \"Ctrl+Z\", but if the element being deleted is the root element of the diagram (based on which the diagram was created), the cancellation is impossible.\r\nWhen pressing \"Suppr\" on a class diagram element :\r\n* either the element should be removed only from diagram (and not from model)\r\n* or an impact window should pop up, warning the user and allowing him/her to cancel the removal"}}