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 99401 - UI: items in lists in include/exclude wizard too long
Summary: UI: items in lists in include/exclude wizard too long
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: UI, USABILITY
Depends on:
Blocks: 49026
  Show dependency tree
 
Reported: 2007-03-29 16:08 UTC by David Simonek
Modified: 2007-10-27 21:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Simonek 2007-03-29 16:08:04 UTC
This is usability request - when I tried powerful include/exclude pattern
mechanism for the first time, I was puzzled by the fact that whole path is shown
in the lists. I tried to set patterns like:

F:\Adoption\Excel\jexcelapi_2_6_1\jexcelapi\src\

instead of correct one

jexcelapi\src\

IMHO names of items in include/exclude lists should start with subfolders of the
source folder chosen in previous wizard step "Existing Sources"
Comment 1 Jesse Glick 2007-03-29 21:12:44 UTC
The reason it shows the full path is that it is (potentially) matching against
multiple source roots.
Comment 2 Jesse Glick 2007-10-27 21:00:48 UTC
Now shows relative path, unless you have >1 root, in which case it shows the complete path (since otherwise it would be
hard to distinguish between matches from the different roots).

Checking in IncludeExcludeVisualizer.java;
/shared/data/ccvs/repository/java/project/src/org/netbeans/spi/java/project/support/ui/IncludeExcludeVisualizer.java,v 
<--  IncludeExcludeVisualizer.java
new revision: 1.4; previous revision: 1.3
done
Checking in IncludeExcludeVisualizerPanel.java;
/shared/data/ccvs/repository/java/project/src/org/netbeans/spi/java/project/support/ui/IncludeExcludeVisualizerPanel.java,v
 <--  IncludeExcludeVisualizerPanel.java
new revision: 1.4; previous revision: 1.3
done