Bug 11839 - rename package shows up on a folder [refactoring]
Summary: rename package shows up on a folder [refactoring]
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-03-20 08:53 EST by Adam Kiezun CLA
Modified: 2009-08-30 02:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-03-20 08:53:49 EST
1. junit 3.7
2. select junit.swingui.icons folder

rename package shows up

why is the folder presented as an IPackageFragment?
Comment 1 Erich Gamma CLA 2002-03-20 10:20:12 EST
everything inside a package fragment root is represented like this in the 
JavaModel. There are several complaints on this - moving to JCORE for comment 
Comment 2 Philipe Mulet CLA 2002-03-21 13:42:21 EST
Some package fragments can be empty from the model standpoint, or contain non-
java resources. This was like this in 1.0, and would be a breaking change.

The fact it is rendered as a folder is a UI thing, and maybe the corresponding 
menu contributions should be adapted.

Back to UI for disposal.
Comment 3 Erich Gamma CLA 2002-03-22 05:01:01 EST
deferred
Comment 4 Dirk Baeumer CLA 2002-07-23 10:17:02 EDT
[refactoring]

We should do the same trick as the UI does to decide if a package fragment is a 
folder. If it doesn't contain any Java resources it is treated as a folder from 
a rendering point of view.

Consider for 2.1
Comment 5 Dirk Baeumer CLA 2003-04-28 06:02:36 EDT
Chaning state from assigned later to resolved later. Assigned later got 
introduced by the last bug conversion and is not a supported Eclipse bug state.
Comment 6 Denis Roy CLA 2009-08-30 02:21:58 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.