Difference between revisions of "PrF UG classes class window"

From Protege Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== The Class Hierarchy Window ==
 
== The Class Hierarchy Window ==
  
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude>
  
 
The Class Hierarchy window in the
 
The Class Hierarchy window in the
Line 9: Line 9:
 
and allows you to rearrange your hierarchy using "drag-and-drop".
 
and allows you to rearrange your hierarchy using "drag-and-drop".
 
By default,
 
By default,
the Class Window displays the class structure of your knowledge base,
+
the Class window displays the class structure of your knowledge base,
 
with all classes shown as descending, directly or indirectly,
 
with all classes shown as descending, directly or indirectly,
 
from the system class <b>:THING</b>.
 
from the system class <b>:THING</b>.
  
<div>[[Image:PrF_UG_classes_class_hierarchy_window.png|classes_class_hierarchy_window]]</div>
+
<div>[[Image:PrF_UG_classes_class_hierarchy_window.png|frame|none|
 +
      Class Hierarchy window]]</div>
  
 
=== Description ===
 
=== Description ===
Line 30: Line 31:
 
       <li><p>
 
       <li><p>
 
         An "expanded" icon
 
         An "expanded" icon
         [[Image:PrF_UG_all_hierarchy.expanded.gif|all_hierarchy.expanded]]
+
         ([[Image:PrF_UG_all_hierarchy.expanded.gif|all_hierarchy.expanded]])
 
         means that all direct subclasses of the class are displayed.
 
         means that all direct subclasses of the class are displayed.
 
         </p>
 
         </p>
 
       <li><p>
 
       <li><p>
 
         A "collapsed" icon
 
         A "collapsed" icon
         [[Image:PrF_UG_all_hierarchy.collapsed.gif|all_hierarchy.collapsed]]
+
         ([[Image:PrF_UG_all_hierarchy.collapsed.gif|all_hierarchy.collapsed]])
 
         means that the class has direct subclasses which are not currently displayed.
 
         means that the class has direct subclasses which are not currently displayed.
 
         You can click on this icon to toggle it.
 
         You can click on this icon to toggle it.
Line 44: Line 45:
 
         </p>
 
         </p>
 
     </ul>
 
     </ul>
 +
    <p>
 
     <b>Tip:</b> You can also display <i>all</i> classes below a class
 
     <b>Tip:</b> You can also display <i>all</i> classes below a class
 
     by right-clicking the class and selecting <b>Expand</b> from the cascading
 
     by right-clicking the class and selecting <b>Expand</b> from the cascading
Line 64: Line 66:
 
</ul>
 
</ul>
  
<b>Note:</b> You can also change the view from the default to
+
<b>Note:</b> You can also change the view from the default
[[PrF_UG_classes_view_relations|view the class relations]]
+
to [[PrF_UG_classes_view_relations|view the class relations]]
 
for a selected class.
 
for a selected class.
Most of the time,
+
Most of the time, however,
however,
 
 
you will work with the default hierarchy view.
 
you will work with the default hierarchy view.
  
Line 81: Line 82:
  
 
   <li><p>
 
   <li><p>
     You can
+
     You can [[PrF_UG_classes_editing_a_class|edit]]
    [[PrF_UG_classes_editing_a_class|edit]]
+
     the attributes of a class
     the attributes of a class in the
+
    in the [[PrF_UG_classes_class_editor|Class Editor]].
    [[PrF_UG_classes_class_editor|Class Editor]].
 
 
     When a class is selected,
 
     When a class is selected,
     the
+
     the [[PrF_UG_classes_class_editor|Class Editor]]
    [[PrF_UG_classes_class_editor|Class Editor]]
 
 
     appears to the right.
 
     appears to the right.
     You can also open the Class Editor for one or more selected classes by clicking the <b>View Class</b>
+
     You can also open the Class Editor for one or more selected classes
     [[Image:PrF_UG_classes_class.view.gif|classes_class.view]]
+
    by clicking the <b>View Class</b>
    button.
+
     ([[Image:PrF_UG_classes_class.view.gif|classes_class.view]]) button.
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     You can
+
     You can [[PrF_UG_classes_create_class|create a new class]]
    [[PrF_UG_classes_create_class|create a new class]]
 
 
     by clicking the <b>Create Class</b>
 
     by clicking the <b>Create Class</b>
     [[Image:PrF_UG_classes_class.create.gif|classes_class.create]]
+
     ([[Image:PrF_UG_classes_class.create.gif|classes_class.create]]) button
     button and creating and editing its attributes in the
+
     and creating and editing its attributes
    [[PrF_UG_classes_class_editor|Class Editor]].
+
    in the [[PrF_UG_classes_class_editor|Class Editor]].
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     You can
+
     You can [[PrF_UG_classes_delete_class|delete]] a class
    [[PrF_UG_classes_delete_class|delete]]
+
     by clicking the <b>Delete Class</b>
     a class by clicking the <b>Delete Class</b>
+
     ([[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]]) button.
     [[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]]
 
    button.
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     You can
+
     You can [[PrF_UG_classes_find_class|search for]]
    [[PrF_UG_classes_find_class|search for]]
+
     a class by typing all or part of the class name in the Class lookup bar
     a class by typing all or part of the class name in the Class Lookup Bar and then clicking the <b>Find Class</b>
+
    and then clicking the <b>Find Class</b>
     [[Image:PrF_UG_classes_class.search.gif|classes_class.search]]
+
     ([[Image:PrF_UG_classes_class.search.gif|classes_class.search]]) button.
    button.
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     You can work with
+
     You can work with [[PrF_UG_meta_metaclass_intro|metaclasses]]
    [[PrF_UG_meta_metaclass_intro|metaclasses]]
+
     and [[PrF_UG_classes_hide_class|hidden]] classes,
     and
 
    [[PrF_UG_classes_hide_class|hidden]]
 
    classes,
 
 
     using the right mouse button.
 
     using the right mouse button.
     See
+
     See the [[PrF_UG_classes_class_menu|Class menu]] for more information.
    [[PrF_UG_classes_class_menu|The Class Menu]]
 
    for more information.
 
 
     </p>
 
     </p>
 
</ul>
 
</ul>
Line 136: Line 126:
 
<ul class='a'>
 
<ul class='a'>
 
   <li><p>
 
   <li><p>
     You can
+
     You can [[PrF_UG_classes_replace_superclass|move a class to another superclass]]
    [[PrF_UG_classes_replace_superclass|move a class to another superclass]]
 
 
     by selecting the class,
 
     by selecting the class,
 
     dragging it directly over the new superclass,
 
     dragging it directly over the new superclass,
Line 144: Line 133:
  
 
   <li><p>
 
   <li><p>
     You can
+
     You can [[PrF_UG_classes_add_superclass|add an additional superclass]]
    [[PrF_UG_classes_add_superclass|add an additional superclass]]
 
 
     to a class by selecting the class,
 
     to a class by selecting the class,
 
     dragging it over the additional superclass,
 
     dragging it over the additional superclass,
Line 153: Line 141:
  
 
For additional superclass tasks that you can perform,
 
For additional superclass tasks that you can perform,
see the
+
see the [[PrF_UG_classes_superclasses_pane|Superclasses pane]].
[[PrF_UG_classes_superclasses_pane|Superclasses Pane]].
 
  
</div>
+
 
 +
<noinclude></div></noinclude>

Latest revision as of 16:24, November 13, 2008

The Class Hierarchy Window


Protege-Frames User's Guide
Classes
Classes Tab
Class Browser
Class Buttons
Class Hierarchy Window
Class Icons
Class Menu
Class Search Bar
Superclasses Pane
Class Editor
Constraints
Template Slots Pane
Template Slot Buttons
References Window
Creating a New Class
Creating Multiple Subclasses
Deleting a Class
Displaying the Class Editor
Editing a Class
Editing Template Slots
Finding a Class
Hiding a Class
Replacing a Superclass
Adding a Superclass
Jumping to A Superclass
Removing a Superclass
Viewing Class Relations
Classes & Instances Tab
Viewing References
Glossary, Editing Help

The Class Hierarchy window in the Class Browser displays the classes for the project and allows you to rearrange your hierarchy using "drag-and-drop". By default, the Class window displays the class structure of your knowledge base, with all classes shown as descending, directly or indirectly, from the system class :THING.

Class Hierarchy window

Description

This window shows the following:

  • Subclasses appear below their superclasses and are indented to the right.

  • Hierarchy icons indicate how much or how little of the hierarchy is displayed:

    • An "expanded" icon (all_hierarchy.expanded) means that all direct subclasses of the class are displayed.

    • A "collapsed" icon (all_hierarchy.collapsed) means that the class has direct subclasses which are not currently displayed. You can click on this icon to toggle it.

    • If no icon is displayed, the class has no direct subclasses.

    Tip: You can also display all classes below a class by right-clicking the class and selecting Expand from the cascading Class Menu.

  • The currently selected class is shown with a highlight.

  • Classes with more than one superclass appear more than once in the tree.

  • Class icons show information about your class (e.g., the class role).

Note: You can also change the view from the default to view the class relations for a selected class. Most of the time, however, you will work with the default hierarchy view.

Tasks

The Class Hierarchy window allows you to perform the following tasks:

  • You can select a class by clicking on it.

  • You can edit the attributes of a class in the Class Editor. When a class is selected, the Class Editor appears to the right. You can also open the Class Editor for one or more selected classes by clicking the View Class (classes_class.view) button.

  • You can create a new class by clicking the Create Class (classes_class.create) button and creating and editing its attributes in the Class Editor.

  • You can delete a class by clicking the Delete Class (classes_class.delete) button.

  • You can search for a class by typing all or part of the class name in the Class lookup bar and then clicking the Find Class (classes_class.search) button.

  • You can work with metaclasses and hidden classes, using the right mouse button. See the Class menu for more information.

You can also rearrange the superclass/subclass relationships:

For additional superclass tasks that you can perform, see the Superclasses pane.