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 57129

Summary: java nav. should highlight member focused in Source Editor
Product: java Reporter: Jindrich Dinga <jdinga>
Component: NavigationAssignee: David Simonek <dsimonek>
Status: RESOLVED FIXED    
Severity: blocker CC: gholmer, jchalupa, mkrauskopf
Priority: P2 Keywords: REGRESSION
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 55900, 57805    

Description Jindrich Dinga 2005-03-29 13:30:44 UTC
According to the spec, when a user is focused on a line in source editor, the appropriate member 
should be selected in Navigator window.
Comment 1 David Simonek 2005-03-29 13:58:21 UTC
Yo, accepted for post 4.1 release.
Comment 2 ulfzibis 2005-04-13 17:28:30 UTC
Please allow to include Navigator in editor's window.
Comment 3 David Simonek 2005-04-20 17:57:44 UTC
working on that...
Comment 4 David Simonek 2005-04-21 11:25:32 UTC
fixed in main trunk:

/cvs/objectbrowser/navigator/javanavigation/src/org/netbeans/modules/javanavigation/ClassMemberModel.java,v
 <--  ClassMemberModel.java
new revision: 1.32; previous revision: 1.31

/cvs/objectbrowser/navigator/javanavigation/src/org/netbeans/modules/javanavigation/ClassMemberRelatedItemProvider.java,v
 <--  ClassMemberRelatedItemProvider.java
new revision: 1.5; previous revision: 1.4

/cvs/objectbrowser/navigator/src/org/netbeans/modules/navigator/Navigator.java,v
 <--  Navigator.java
new revision: 1.37; previous revision: 1.36

Comment 5 gholmer 2005-04-21 14:02:20 UTC
Any chance this could be backported to 4.1?  Since the old method popup in the
editor pane used to provide this functionality, it's a loss of functionality.
Comment 6 David Simonek 2005-04-21 14:16:04 UTC
I woudl say no, fix is not that tricky, but only showstoppers are allowed to be
backported to 4.1 and certainly this is not a showstopper.
Comment 7 tboerkel 2005-08-29 07:36:44 UTC
This does not work in current daily build.
Comment 8 Martin Krauskopf 2005-08-29 09:52:40 UTC
Yes, confirmed. Regression. It worked -> P2.
Comment 9 David Simonek 2005-09-07 14:14:47 UTC
Fixed again after split between Navigator API / Java navigation client:

Checking in ClassMemberPanel.java;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/ClassMemberPanel.java,v
 <--  ClassMemberPanel.java
new revision: 1.4; previous revision: 1.3
done
Checking in ClassMemberRelatedItemProvider.java;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/ClassMemberRelatedItemProvider.java,v
 <--  ClassMemberRelatedItemProvider.java
new revision: 1.3; previous revision: 1.2
done
Checking in ClassMemberModel.java;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/ClassMemberModel.java,v
 <--  ClassMemberModel.java
new revision: 1.3; previous revision: 1.2
done
Checking in spi/RelatedItemListModelSupport.java;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/spi/RelatedItemListModelSupport.java,v
 <--  RelatedItemListModelSupport.java
new revision: 1.3; previous revision: 1.2