Difference between revisions of "PrF UG classes view class"

From Protege Wiki
Jump to: navigation, search
Line 4: Line 4:
 
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
 
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
  
You view or
+
You view
[[PrF_UG_classes_editing_a_class|edit]]
+
or [[PrF_UG_classes_editing_a_class|edit]] an existing class
an existing class using the
+
using the [[PrF_UG_classes_class_editor|Class Editor]].
[[PrF_UG_classes_class_editor|Class Editor]].
 
  
<b>Note:</b> If the class is a system class or has been
+
<b>Note:</b>
[[PrF_UG_projects_including_a_project|included]]
+
If the class is a system class
from another project,
+
or has been [[PrF_UG_projects_including_a_project|included]]
it cannot be edited.
+
from another project, it cannot be edited.
 
Included classes are shown with a pale class icon to the left.
 
Included classes are shown with a pale class icon to the left.
  
Line 22: Line 21:
 
=== Using the Classes Tab ===
 
=== Using the Classes Tab ===
  
To view or edit a class from the
+
To view or edit a class
[[PrF_UG_classes_classes_tab|Classes Tab]]:
+
from the [[PrF_UG_classes_classes_tab|Classes Tab]]:
  
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Select the class you want to edit in the
+
     Select the class you want to edit
    [[PrF_UG_classes_class_browser|Class Browser]]
+
    in the [[PrF_UG_classes_class_browser|Class Browser]]
     in the
+
     in the [[PrF_UG_classes_classes_tab|Classes Tab]].
    [[PrF_UG_classes_classes_tab|Classes Tab]].
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     Enter the updated information directly in the
+
     Enter the updated information directly
    [[PrF_UG_classes_class_editor|Class Editor]]
+
    in the [[PrF_UG_classes_class_editor|Class Editor]]
 
     to the right.
 
     to the right.
 
     </p>
 
     </p>
Line 42: Line 40:
 
=== Displaying the Class Editor as a Free-standing Window ===
 
=== Displaying the Class Editor as a Free-standing Window ===
  
You can open the Class Editor to view or edit a class anywhere the <b>View Class</b>
+
You can open the Class Editor to view
<div>[[Image:PrF_UG_classes_class.view.gif|classes_class.view]]</div>
+
or edit a class anywhere the <b>View Class</b>
button appears,
+
[[Image:PrF_UG_classes_class.view.gif|classes_class.view]] button appears,
 
including the following locations:
 
including the following locations:
  
 
<ul class='a'>
 
<ul class='a'>
 
   <li><p>
 
   <li><p>
     the
+
     the [[PrF_UG_classes_classes_tab|Classes Tab]]
    [[PrF_UG_classes_classes_tab|Classes Tab]]
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     the
+
     the [[PrF_UG_inst_class_browser_at_instances|Class Browser]]
    [[PrF_UG_inst_class_browser_at_instances|Class Browser]]
+
     at the [[PrF_UG_inst_instances_tab|Instances Tab]]
     at the
 
    [[PrF_UG_inst_instances_tab|Instances Tab]]
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     the
+
     the [[PrF_UG_slots_value_type_class#Setting_the_Value_Type_to_Class|Allowed Superclasses]]
    [[PrF_UG_slots_value_type_class#Setting_the_Value_Type_to_Class|Allowed Superclasses]]
+
     pane for a slot
     pane for a slot of
+
     of [[PrF_UG_slots_value_type_class|type Class]]
     [[PrF_UG_slots_value_type_class|type Class]]
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     the Class Entry field at the
+
     the Class Entry field
    [[PrF_UG_queries_query_tab|Queries Tab]]
+
    at the [[PrF_UG_queries_query_tab|Queries Tab]]
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     the
+
     the [[PrF_UG_classes_references_window|References Window]]
    [[PrF_UG_classes_references_window|References Window]]
 
 
     </p>
 
     </p>
 
</ul>
 
</ul>
  
To view or edit a class using the
+
To view or edit a class
[[PrF_UG_classes_class_editor|Class Editor]]:
+
using the [[PrF_UG_classes_class_editor|Class Editor]]:
  
 
<ol class='a'>
 
<ol class='a'>
Line 88: Line 81:
 
   <li><p>
 
   <li><p>
 
     Click the <b>View Class</b>
 
     Click the <b>View Class</b>
     [[Image:PrF_UG_classes_class.view.gif|classes_class.view]]
+
     [[Image:PrF_UG_classes_class.view.gif|classes_class.view]] icon
     icon at the upper right of the pane to open the
+
     at the upper right of the pane
    [[PrF_UG_classes_class_editor|Class Editor]]
+
    to open the [[PrF_UG_classes_class_editor|Class Editor]]
 
     as a free-standing window.
 
     as a free-standing window.
 
     </p>
 
     </p>
Line 97: Line 90:
 
To view or edit the information for several classes at once,
 
To view or edit the information for several classes at once,
 
open a separate
 
open a separate
[[PrF_UG_classes_class_editor|Class Editor]]
+
[[PrF_UG_classes_class_editor|Class Editor]] for each class.
for each class.
 
 
Opening a new Class Editor does not close the previous editor.
 
Opening a new Class Editor does not close the previous editor.
 
This allows you to compare the attributes for two or more classes.
 
This allows you to compare the attributes for two or more classes.

Revision as of 12:45, October 15, 2008

Displaying the Class Editor


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

You view or edit an existing class using the Class Editor.

Note: If the class is a system class or has been included from another project, it cannot be edited. Included classes are shown with a pale class icon to the left.

Whenever you enter changes into the Class Editor, they are immediately visible everywhere in the project. To write the changes to disk, select File | Save Project.

Using the Classes Tab

To view or edit a class from the Classes Tab:

  1. Select the class you want to edit in the Class Browser in the Classes Tab.

  2. Enter the updated information directly in the Class Editor to the right.

Displaying the Class Editor as a Free-standing Window

You can open the Class Editor to view or edit a class anywhere the View Class classes_class.view button appears, including the following locations:

To view or edit a class using the Class Editor:

  1. Select the class you want to edit.

  2. Click the View Class classes_class.view icon at the upper right of the pane to open the Class Editor as a free-standing window.

To view or edit the information for several classes at once, open a separate Class Editor for each class. Opening a new Class Editor does not close the previous editor. This allows you to compare the attributes for two or more classes. Edits can be made directly in any open Class Editor.

Managing Multiple Editors

If you have multiple editor windows open, you can manage them as follows:

  • Cascade multiple windows by selecting Windows | windows_cascade_windows Cascade Windows.

  • Close all open editor windows by selecting Windows | windows_close_all_windows Close All Windows.