Solved

Eclipse Hierarcy

Posted on 2014-02-11
1
172 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

777 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