Bug 3217 - JM - deleting default package (1G8417Z)
Summary: JM - deleting default package (1G8417Z)
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:51 EDT by Philipe Mulet CLA
Modified: 2002-01-15 07:46 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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