Bug 70771 - [navigation] Add hasSubType indicators
Summary: [navigation] Add hasSubType indicators
Status: RESOLVED DUPLICATE of bug 124521
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-23 19:35 EDT by Thekepat Sudesh CLA
Modified: 2006-01-20 05:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thekepat Sudesh CLA 2004-07-23 19:35:55 EDT
Like Intellij (IDEA) have class inheritance indicators on the first line of 
class declaration (on the left ruler) . Clicking on the arrow gives the list of 
classes that inherit from this class
Comment 1 Dani Megert CLA 2004-07-26 03:31:06 EDT
>classes that inherit from this class
So you mean subtypes - right?
Comment 2 Thekepat Sudesh CLA 2004-07-26 07:22:00 EDT
Yes. A downward arrow (like a upward arrow indicating overidden functions).
Thanks.
Comment 3 Dani Megert CLA 2004-07-26 08:22:22 EDT
Getting the subtypes can be quite expensive.
We could do it even on the method level.
Comment 4 Thekepat Sudesh CLA 2004-07-26 23:30:14 EDT
If class A has two direct subclasses B & C, as shown :
(<indicator goes here>)  class A {}
class B extends A {}
class C extends A {}
Now just like you have an function override indicator (indicating that a 
virtual function has been overriden (an upward arrow) we could have a downward 
arrow to indicate the direct subclasses of A...Just like what IDEA (Intellij) 
has.
Thanks.
Comment 5 Dani Megert CLA 2006-01-20 05:47:06 EST

*** This bug has been marked as a duplicate of 124521 ***