Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Eclipse Hierarcy

Posted on 2014-02-11
1
Medium Priority
?
197 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
A solution for Fortify Path Manipulation.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

783 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