Jump to: navigation, search

Difference between revisions of "FAQ What can I view in the Hierarchy view?"

 
 
Line 33: Line 33:
 
set in the Hierarchy view to limit the displayed elements to a particular portion
 
set in the Hierarchy view to limit the displayed elements to a particular portion
 
of the workspace.
 
of the workspace.
 +
 +
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>

Latest revision as of 16:11, 14 March 2006

The Hierarchy view shows types, their subtypes, and their supertypes. In Figure 3.5, we pressed Ctrl+Shift+H and entered Button. This shows the inheritance hierarchy of Button.


    <img src=../images/F4.jpg>


    Figure 3.5   Inheritance hierarchy of Button


To see the full inheritance hierarchy of another type in the hierarchy, use the Focus On command in the context menu. For example, to see the inheritance hierarchy of Widget, select Widget and choose Focus On ’Widget’ from the context menu (Figure 3.6).


    <img src=../images/F4-2.jpg> <img src=../images/F4-3.jpg>


    Figure 3.6   Changing the hierarchy focus


You can select any package, type, or method in the various Java views and open it in the Hierarchy view from the context menu. You can also select a working set in the Hierarchy view to limit the displayed elements to a particular portion of the workspace.


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.