Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 5639 - Linking hierarchy view to active editor fails
Summary: Linking hierarchy view to active editor fails
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5642 11936 44521 432271 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-07 16:04 EST by Jared Burns CLA
Modified: 2014-04-08 11:43 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2001-11-07 16:04:37 EST
The option to link the hierarchy view to the active editor only works when
switching to an editor that is in the currently visible hierarchy.
For example, if the hierarchy view shows
A
  B
    C
selecting the editor for A,B, or C will cause the hierarchy view to update.

However, selecting the editor for class D will not update the hierarchy view as
it should.
Comment 1 Dirk Baeumer CLA 2002-01-08 10:32:26 EST
Jared, is class B somehow related to class A, B, or C. If not, why do you 
expect the hierarchy view to update if you select class D. Do you expect that 
the hierarchy for class D is presented.
Comment 2 Jared Burns CLA 2002-01-08 12:13:02 EST
Showing the class D's hierarchy when class D is selected would be consistent with the way "Link packages view selection to the active editor" works. With this option selected, the packages view selection updates as the current editor changes. It is expected (I think) that the hierarchy view should behave the same way with "Link type hierarchy view selection to the active editor" preference selected.
Comment 3 Erich Gamma CLA 2002-01-08 12:43:10 EST
we have looked into this and we decided to not do it because the hierarchy 
computation is too expensive. You would pay for it whenever there is a type 
hierarchy view visible and switch an editor.
Comment 4 Dirk Baeumer CLA 2002-07-25 13:59:26 EDT
Since computing the type hierarchy is to expensive we can't fix this.
Comment 5 Dirk Baeumer CLA 2002-07-25 13:59:47 EDT
Marking as Won't fix
Comment 6 Dirk Baeumer CLA 2002-07-25 14:01:09 EDT
*** Bug 5642 has been marked as a duplicate of this bug. ***
Comment 7 Dani Megert CLA 2014-04-08 11:42:40 EDT
*** Bug 11936 has been marked as a duplicate of this bug. ***
Comment 8 Dani Megert CLA 2014-04-08 11:43:14 EDT
*** Bug 432271 has been marked as a duplicate of this bug. ***
Comment 9 Dani Megert CLA 2014-04-08 11:43:29 EDT
*** Bug 44521 has been marked as a duplicate of this bug. ***