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 45952 - Select document in Projects view
Summary: Select document in Projects view
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 22:01 UTC by Jan Lahoda
Modified: 2006-03-24 10:00 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
The proposed patch. (2.43 KB, patch)
2004-07-08 22:02 UTC, Jan Lahoda
Details | Diff
Refined patch that considers special files. (3.25 KB, patch)
2004-07-08 22:50 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2004-07-08 22:01:59 UTC
In the current sources, the "Window/Select
Document in/Projects" do not work for files from
the apisupport's NBM project. The attached patch
makes this action work for these files. I hope it
is clean enough.
Comment 1 Jan Lahoda 2004-07-08 22:02:42 UTC
Created attachment 16163 [details]
The proposed patch.
Comment 2 Jesse Glick 2004-07-08 22:26:26 UTC
That's a good start, thanks. Still missing checks for manifest.mf and
arch.xml. Maybe I'll write a unit test for it.
Comment 3 Jan Lahoda 2004-07-08 22:50:41 UTC
Created attachment 16166 [details]
Refined patch that considers special files.
Comment 4 Jan Lahoda 2004-07-08 22:53:05 UTC
So, I refined the patch so the can handle also the special files
(tested only with manifest). (Well, the solution that I used is not
very nice, but works - I hope.)
Comment 5 Jesse Glick 2004-07-09 00:28:46 UTC
OK, I have a unit test for it passing, will commit soon. Actually had
to make a couple of fixes in PackageView to get it to work. Thanks for
your patch.
Comment 6 Jesse Glick 2004-07-12 22:29:36 UTC
committed   * Up-To-Date  1.7        
apisupport/project/nbproject/project.properties
committed   * Up-To-Date  1.16       
apisupport/project/src/org/netbeans/modules/apisupport/project/LogicalView.java
added       * Up-To-Date  1.1        
apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/LogicalViewTest.java
Comment 7 Jan Lahoda 2004-07-14 10:11:03 UTC
Works OK in 200407131800.