IntelliJ Java IDE
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse: Showing Inherited Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Eclipse: Showing Inherited Methods" Watch "Eclipse: Showing Inherited Methods" New topic
Author

Eclipse: Showing Inherited Methods

Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
Does anyone know how to get Eclipse to show the inherited methods in the Outline view?
I had a trawl round in the preferences and help, but not found anything.
I'm using 3.03M.
Thanks
Dave.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Open the class in an editor window and press Ctrl-Spacebar on an empty line or after a line terminator (semicolon).
Or rightclick on the class in the package explorer and select "open type hierarchy", then select "show all inherited members".
Mind this is in 2.1, might work slightly different in 3.0.


42
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
Thanks Jeroen,
I think things must have changed in V3 - I can' find the "show all inherited members" option.
Where is it on V2?
Dave
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
In 3.0M3, it's the second toolbar button of the hierarchy views method pane.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
same button different name then
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
Mmm - I don't see any methods in the Hierarchy view, just the types / interfaces etc.
Dave
Charles Hasegawa
Ranch Hand

Joined: May 22, 2003
Posts: 117
The hierarchy view is divided into two panes. The lower one shows the methods and has the button that shows the inherited members.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Dave Hewy:
Mmm - I don't see any methods in the Hierarchy view, just the types / interfaces etc.

Then you need to choose a different layout in the views menu (the triangle at the top right).
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
Aah - there they are !
Thanks !
Dave
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
One last question !
The dark blue colour of members belonging to the selected type: I can hardly tell the difference on my screen.
I've found out how to change just about every other colour - but can't find how to change that one.
Dave.
 
 
subject: Eclipse: Showing Inherited Methods
 
Threads others viewed
thread
fun with main() and abstract
Inheritance of all members
static mathods/variable inheritance
question about inheritance
developer file tools