Solved

Eclipse Hierarcy

Posted on 2014-02-11
1
168 Views
Last Modified: 2014-02-13
Hi,

In eclipse when i click show view and hierarch I see different Hierarchy as atached like call, data, type and then java script hierarchy like call, without call etc.

I wonder what is difference between each hierarchy and where to use which one. When i click them some of them are not opening also. How to enable and open them.

please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
1 Comment
 
LVL 19

Accepted Solution

by:
Ken Butters earned 500 total points
ID: 39851659
The following web pages contains a lot of detailed information about how to use the hierarchy view:

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2FgettingStarted%2Fqs-6.htm

In java, every class inherits it's characteristics from another class, and a class can have "child" classes or  subclasses.  

for example... if I have a class called "Class A"
I can create a subclass of Class A called Class B, by using the extends keyword.

public class A {
   private string Name;
   public string getName{
       return Name;
   }
}

public class B extends A{
}

The hierarchy view will show that B is a subclass of A... or that A is a parent class of B.

This is like a genealogy of a class and understanding what methods the class inherits by looking at it's "Parent" class, and / or it's "child" classes.

The hierarchy view helps give a quick overview about the inheritance of a given class.

Every class can ultimately trace it's "roots" back to a single class, the "Object" class.

When i click them some of them are not opening also. How to enable and open them.

What classes are you not able to open?   can you post an example?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now