Solved

Eclipse Hierarcy

Posted on 2014-02-11
1
176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

738 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