Difference between revisions of "PrF UG classes remove superclass"

From Protege Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Removing a Superclass ==
 
== Removing a Superclass ==
  
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude>
  
 
If a class has more than one superclass,
 
If a class has more than one superclass,
Line 12: Line 12:
 
If the class has only one superclass,
 
If the class has only one superclass,
 
the <b>Remove Superclass</b>
 
the <b>Remove Superclass</b>
[[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]] button is disabled.
+
([[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]]) button is disabled.
  
 
=== Removing a Superclass ===
 
=== Removing a Superclass ===
Line 34: Line 34:
 
   <li><p>
 
   <li><p>
 
     Click the <b>Remove Superclass</b>
 
     Click the <b>Remove Superclass</b>
     [[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]] button
+
     ([[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]]) button
 
     at the top right
 
     at the top right
 
     of the [[PrF_UG_classes_jump_to_superclass|Superclasses pane]].
 
     of the [[PrF_UG_classes_jump_to_superclass|Superclasses pane]].
Line 52: Line 52:
 
     in the [[PrF_UG_classes_class_browser|Class Browser]].
 
     in the [[PrF_UG_classes_class_browser|Class Browser]].
 
     </p>
 
     </p>
     <div>[[Image:PrF_UG_classes_superclass_drag_1.png|classes_superclass_drag_1]]</div>
+
     <div>[[Image:PrF_UG_classes_superclass_drag_1.png|frame|none|
 +
          Class Browser, "Columnist" highlighted]]</div>
  
 
   <li><p>
 
   <li><p>
Line 58: Line 59:
 
     [[PrF_UG_classes_jump_to_superclass|Superclasses pane]].
 
     [[PrF_UG_classes_jump_to_superclass|Superclasses pane]].
 
     </p>
 
     </p>
     <div>[[Image:PrF_UG_classes_superclass_pane.png|classes_superclass_pane]]</div>
+
     <div>[[Image:PrF_UG_classes_superclass_pane.png|frame|none|
 +
          Superclasses pane, "Employee" highlighted]]</div>
  
 
   <li><p>
 
   <li><p>
 
     Click the <b>Remove Superclass</b>
 
     Click the <b>Remove Superclass</b>
     [[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]] button
+
     ([[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]]) button
 
     at the top right
 
     at the top right
 
     of the [[PrF_UG_classes_jump_to_superclass|Superclasses pane]].
 
     of the [[PrF_UG_classes_jump_to_superclass|Superclasses pane]].
Line 72: Line 74:
 
To delete a class from the knowledge base,
 
To delete a class from the knowledge base,
 
highlight the class and click the <b>Delete Class</b>
 
highlight the class and click the <b>Delete Class</b>
[[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]]
+
([[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]])
 
[[PrF_UG_classes_class_buttons|class button]].
 
[[PrF_UG_classes_class_buttons|class button]].
 
See [[PrF_UG_classes_delete_class|Deleting a Class]].
 
See [[PrF_UG_classes_delete_class|Deleting a Class]].
  
</div>
+
 
 +
<noinclude></div></noinclude>

Latest revision as of 17:37, November 13, 2008

Removing a Superclass


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

If a class has more than one superclass, you can remove one or more of its superclasses. You must leave at least one superclass. The subclass still appears in the knowledge base as a subclass of its other superclass(es).

Note: If the class has only one superclass, the Remove Superclass (classes_class.remove) button is disabled.

Removing a Superclass

To remove a superclass from a class:

  1. Highlight the class that you want to work with in the Class Browser. The superclasses of the selected class will be shown in the Superclasses pane immediately below the Class Browser.

  2. Highlight the superclass you want to remove in the Superclasses pane.

  3. Click the Remove Superclass (classes_class.remove) button at the top right of the Superclasses pane. The superclass will remain in the knowledge base, but the superclass/subclass link will be broken.

Example

For example, to remove Employee as a superclass of Columnist in the newspaper project:

  1. Highlight Columnist in the Class Browser.

    Class Browser, "Columnist" highlighted
  2. Highlight Employee in the Superclasses pane.

    Superclasses pane, "Employee" highlighted
  3. Click the Remove Superclass (classes_class.remove) button at the top right of the Superclasses pane.

Columnist remains a subclass of Author.

To delete a class from the knowledge base, highlight the class and click the Delete Class (classes_class.delete) class button. See Deleting a Class.