Solved

Eclipse Hierarcy

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
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 …

911 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

20 Experts available now in Live!

Get 1:1 Help Now