This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 47931 - RFE for overlaid view of packages from multiple projects
Summary: RFE for overlaid view of packages from multiple projects
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords: UI
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-08-25 16:29 UTC by kjmcdonald
Modified: 2013-09-04 13:46 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kjmcdonald 2004-08-25 16:29:41 UTC
[This was pull from semi-related issue #42151
where it was determined to be a seperate
enhancement request.]


In NB 3.6, my projects were organized so that they
were all in
seperate Java packages. With some packages being
used by more than one
Project. Because of this I had laid the files out
on the disk in one
src tree, and used only the package directories to
keep them seperate.
I mounted the source tree once in NB3.6.

I like the way NB4.0 Projects are going now
though. And I just
recently split out all the projects into different
project directories
with their own 'src' directory. but what I reall
miss is that
'overlayed' look at the sources.

Would it be possible to have (maybe a seperate tab
in the file
browser) a view of your sources where the main
project, and all the
sub or dependent projects sources are overlayed on
top of each other
so that there is only one package hierarchy?

Example:

Given Projects:

 A/
   src/
     com/
       acme/
         projA/
           A.java
 B/
   src/
     com/
       acme/
         projB/
           B.java
Utils
   src/
     com/
       acme/
         Utils/
           foo.java
           bar.java

Instead of seeing a tree like:
A
  com.acme.projA
    A.java

B
  com.acme.projB
    B.java

Utils
  com.acme.Utils
    foo.java
    bar.java

Could we see:

  com
    acme
      projA
        A.java
      projB
        B.java
      Utils
        foo.java
        bar.java
Comment 1 Martin Matula 2004-08-25 16:39:03 UTC
Please involve the refactoring team in design decisions - this would
have impact on refactoring actions.
Comment 2 Jesse Glick 2004-08-25 18:36:36 UTC
Not for 4.0. May consider some kind of "classpath browser" for a
future release, but no concrete plans yet.
Comment 3 Jesse Glick 2004-12-15 20:30:54 UTC
There is a classpath browser in 4.1 builds now, but not overlaid.
There are a number of thorny problems arising from trying to overlay
folders like that, because of complex listening behavior, and
ambiguous semantics of modification operations (e.g. Delete on a
folder), so we are not currently planning this, though it remains an
possibility.
Comment 4 kjmcdonald 2005-08-19 17:54:36 UTC
I understand that operations which might need to know more about where the file
lives (ie. delete) might not get that info as easily in this view.

Since I proposed it as an addtional 'view' of the files, not the only view,
though I would think that  those actions could just not be available in that
view. Still figuring out which actions those are could be work.

Thanks for considering this.