Bug 4989

Summary: cannot delete (contents of) default package
Product: [Eclipse Project] JDT Reporter: Karice McIntyre <Karice_McIntyre>
Component: UIAssignee: Adam Kiezun <akiezun>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: erich_gamma
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on: 5073    
Bug Blocks:    

Description Karice McIntyre CLA 2001-10-15 13:21:23 EDT
Version: 204

Description:
When I select the default package in the packages view and attempt to delete it 
from the workspace, nothing happens.  It should delete the contents of the 
default package and I should no longer see the default package in the Packages 
view.

Steps:
1. Create a Java Project
2. Create a Java class, C.java
3. In the Packages view, select the default package (it will contain C.java)
4. Hit the Delete key
BUG: the contents of the default package is not deleted.

Workaround: select the contents of the default package and delete
Comment 1 Martin Aeschlimann CLA 2001-10-17 11:16:27 EDT
should not be a problem to implement, no?
Comment 2 Adam Kiezun CLA 2001-10-18 09:41:53 EDT
waiting for support from jcore (Bug#5073)
Comment 3 Adam Kiezun CLA 2001-10-22 09:58:41 EDT
*** Bug 3544 has been marked as a duplicate of this bug. ***
Comment 4 Adam Kiezun CLA 2001-10-26 11:50:30 EDT
comment from 5073:
Philippe Mulet
"A default package cannot be deleted, it is a built-in package.
Note that in the Java UI, you are not offered to delete it either."
closing