Bug 10140 - Nesting of folders in the package browser [package explorer]
Summary: Nesting of folders in the package browser [package explorer]
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-02-23 23:22 EST by Randy Hudson CLA
Modified: 2009-08-30 02:42 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 Randy Hudson CLA 2002-02-23 23:22:46 EST
In a recent survey (ATC), I don't think anyone was in favor of package nesting 
(like in VA-Java).  I do think however that resource nesting makes sense.  I 
don't believe it was brought up.

For example, I have the package "p1".
And, I have the resource        "p1/foo.properties"
And, I have the resource folder "p1/icons/"

The resource "foo.properties" currently shows up under the package in the 
Packages View.  I would like to see the "icons" folder under the package as 
well.
Comment 1 Erich Gamma CLA 2002-03-11 09:01:47 EST
this would require additional support from the JavaModel that is unlikely to 
happen for 2.0.

Moving to JDT CORE 
Comment 2 Philipe Mulet CLA 2002-03-22 07:06:55 EST
Why would you need anything from the JavaModel for this one ?
Isn't this only a consequence of the UI hiding empty packages, no ?
Comment 3 Erich Gamma CLA 2002-03-30 08:14:21 EST
This is a consequence of the Java model "flattening" all the children under a 
package fragment root, e.g.

junit
   swingui
      icons

becomes

junit.swingui
junit.swingui.icons
Comment 4 Philipe Mulet CLA 2002-04-02 02:38:28 EST
Agreed, but couldn't the rendering of empty packages be resource children of 
enclosing packages ? From the model standpoint, it makes good sense that any 
folder under a package fragment root be a package...
Comment 5 Erich Gamma CLA 2002-05-11 15:19:20 EDT
currently the packages view structure is isomorphic with the JavaModel (well 
minus dummy package fragment roots). We will not change this for 2.0
Comment 6 Dirk Baeumer CLA 2003-04-28 06:02:52 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 7 Eclipse Webmaster CLA 2009-08-30 02:42:27 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.