Bug 3217

Summary: JM - deleting default package (1G8417Z)
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: All   
OS: Windows NT   
Whiteboard:

Description Philipe Mulet CLA 2001-10-10 22:51:28 EDT
AK (1/25/01 2:56:41 PM)
	this keeps comming back
	it was solved nicely once - "can't delete the default package" message
	
	1. create a java project and try do delete the default package
 	nothing happens and there's no message to the user

NOTES:

TM (29.01.2001 17:15:09)
	Hmmm.. the javamodel silently fails when deleting the default package.

	In general, the strategy is to not show the delete action on elements that are not deleteable.
	Will implement this. The javamodel, however, should not silently fail.

TM (29.01.2001 17:24:08)
	Same problem exists for rename, etc.

	Will disable actions for default package.

TM (29.01.2001 17:49:25)
	Ok, no reorg actions show up for the default package anymore.

DM (1/29/01 6:31:15 PM)
	Verified --> User feeling is ok when using menus, but it is confusing/scary
	for users if nothing happens when hitting DEL.
	Read-only resources should give a user-friendly message (this includes class files
	inside a JAR).

TM (30.01.2001 10:25:08)
	We'd have to change the "canDelete()" method to return a String, IInputValidator style.

EG (2/1/01 10:04:21 AM)
	let's change it now

TM (4/10/2001 17:45:14)
	Thinking of it, why doesn't the java model throw a reasonable exception?

EG (4/23/01 10:04:41 AM)
	agreed, we should get an exception from the JavaModel in this case.
	Moving to JCORE
Comment 1 DJ Houghton CLA 2001-10-23 23:51:50 EDT
PRODUCT VERSION:
	test pass jan 25

Comment 2 Jerome Lanneluc CLA 2002-01-15 05:56:44 EST
Deleting the default package is not possible from the UI any longer.
Closing