Bug 226181 - [CommonNavigator] [WorkbenchParts] Link With Editor not pointing to current file being edited
Summary: [CommonNavigator] [WorkbenchParts] Link With Editor not pointing to current f...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard: linkEditor
Keywords:
Depends on: 141102
Blocks:
  Show dependency tree
 
Reported: 2008-04-08 15:17 EDT by Paul Webster CLA
Modified: 2010-04-21 06:56 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2008-04-08 15:17:27 EDT
+++ This bug was initially created as a clone of Bug #141102 +++

Call Hierarchy defined as a tabbed view
Package Explorer is defined as a Fast View

Start on Class A (any class)
Go to a method and Right Click on Open Call Hierarchy
Click on a class other than the current one (Class B)

Note: Class B is now active in the editor

Open the Package Expolorer
Package Explorer has Class A still highlighted (instead of Class B)
Click on the editor (which still has Class B)

Open the Package Expolorer
Package Explorer has Class B is now correctly highlighted
Click on the editor

+++

The solution is to check for partBroughtToTop(*) events as well.

PW
Comment 1 Francis Upton IV CLA 2010-04-21 06:56:20 EDT
This was apparently fixed a while ago; I tried the steps and they work, and the code does react to the partBroughtToTop events.