Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 150985

Summary: [Editor] Unable to delete simple types, directives, groups and attribute groups with the keyboard in the top level view
Product: [WebTools] WTP Source Editing Reporter: Valentin Baciu <valentinbaciu>
Component: wst.xsdAssignee: Valentin Baciu <valentinbaciu>
Status: CLOSED FIXED QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5.1 M151   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch for attribute and model groups none

Description Valentin Baciu CLA 2006-07-18 13:45:06 EDT
The issue seems to be in the DeleteAction which only accounts for IField and IComplexType. It's relatively simple to fix this for model groups and attribute groups but the interfaces need to be enhanced a bit to make this work for directives and simple types.
Comment 1 Valentin Baciu CLA 2006-07-18 14:23:48 EDT
Created attachment 46463 [details]
Patch for attribute and model groups
Comment 2 Keith Chong CLA 2006-07-24 12:16:59 EDT
Patch applied for 1.5.1 and HEAD
Comment 3 Valentin Baciu CLA 2006-09-24 16:45:08 EDT
Verified with M-1.5.1-200609221939. Attributes and model groups can be deleted, directives and simple types still don't work. Let's open a new bug to fix this in 2.0.
Comment 4 Valentin Baciu CLA 2006-09-26 10:12:41 EDT
Closing this now.
Opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=158753 to track the rest of the work.