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 55782 - Navigaton in Find Usages results do not work
Summary: Navigaton in Find Usages results do not work
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords: USABILITY
: 50953 (view as bug list)
Depends on: 40185
Blocks:
  Show dependency tree
 
Reported: 2005-03-02 16:20 UTC by _ pkuzel
Modified: 2007-04-03 18:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Implementation template (3.56 KB, patch)
2005-03-02 17:02 UTC, _ pkuzel
Details | Diff
Proposed patch. Requires jarda's patch from issue 40185 (7.28 KB, patch)
2005-03-18 09:49 UTC, Jan Becicka
Details | Diff
F12 patch - version 2.0 (5.68 KB, patch)
2005-03-21 14:30 UTC, Jan Becicka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2005-03-02 16:20:39 UTC
I invoked Find Usages. After awhile new Find
Usages view opened. I wanted to see/modify usages
in editor. I intuitively pressed Ctrl+Alt+Down
then tried F12. Nothing happened. I have to
double-click on found usages by mouse taking focus
from editor.

Talking with Dusan (Shift)F12 must ultimately work
from editor (if usages visible) and result view
itself.
Comment 1 _ pkuzel 2005-03-02 16:22:09 UTC
Find usages action is not usable comparing to other IDEs. The workflow
is somewhat broken.
Comment 2 _ pkuzel 2005-03-02 16:42:03 UTC
The closest workaround is:

Ctrl-Alt-F, Down, Enter
Comment 3 _ pkuzel 2005-03-02 17:02:48 UTC
Created attachment 20628 [details]
Implementation template
Comment 4 _ pkuzel 2005-03-02 17:05:54 UTC
Attached code from tasklist, it uses ugly reflection and deprecated
methods but current OpenAPIs does not allow to implement it nicely AFAIK.

Comment 5 _ pkuzel 2005-03-02 17:10:05 UTC
Added dependency on issue #40185. If implemented no reflection needed.
Comment 6 _ pkuzel 2005-03-02 17:12:04 UTC
CCing responsible UI engineer (dpavlica).
Comment 7 Jan Becicka 2005-03-03 06:26:38 UTC
Looks like duplicate of issue 50953
Comment 8 Martin Matula 2005-03-03 13:18:58 UTC
Jarda asks us to not use reflection. He will enable us to implement
this without reflection (most likely by fixing issue 40185).
Comment 9 Jan Becicka 2005-03-03 14:06:45 UTC
*** Issue 50953 has been marked as a duplicate of this issue. ***
Comment 10 Jan Becicka 2005-03-17 15:51:49 UTC
Jarda added patch, which should allow us to fix this issue. I'll look at it.
Comment 11 Jan Becicka 2005-03-18 09:49:46 UTC
Created attachment 20944 [details]
Proposed patch. Requires jarda's patch from issue 40185
Comment 12 Jan Becicka 2005-03-21 14:30:12 UTC
Created attachment 20991 [details]
F12 patch - version 2.0
Comment 13 Jaroslav Tulach 2005-03-23 07:28:12 UTC
I've integrated the following changes as part of fix for issue 40185: 
 
Checking in refactoring/arch/arch-refactoring.xml;  
/cvs/refactoring/arch/arch-refactoring.xml,v  <--  arch-refactoring.xml  
new revision: 1.15; previous revision: 1.14  
done  
Checking in refactoring/nbproject/project.xml;  
/cvs/refactoring/nbproject/project.xml,v  <--  project.xml  
new revision: 1.17; previous revision: 1.16  
done  
Checking in  
refactoring/src/org/netbeans/modules/refactoring/ui/CheckNodeListener.java;  
/cvs/refactoring/src/org/netbeans/modules/refactoring/ui/CheckNodeListener.java,v   
<--  CheckNodeListener.java  
new revision: 1.11; previous revision: 1.10  
done  
Checking in  
refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanel.java;  
/cvs/refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanel.java,v   
<--  RefactoringPanel.java  
new revision: 1.48; previous revision: 1.47  
done  
Checking in  
refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanelContainer.java;  
/cvs/refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringPanelContainer.java,v   
<--  RefactoringPanelContainer.java  
new revision: 1.15; previous revision: 1.14  
Comment 14 Jiri Prox 2005-07-20 11:23:07 UTC
verified