Difference between revisions of "PrF UG classes remove 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| | + | <div>[[Image:PrF_UG_classes_superclass_drag_1.png|frame|none| |
+ | Class Browser with Columnist highlighted]]</div> | ||
<li><p> | <li><p> |
Revision as of 11:46, October 20, 2008
Removing a Superclass
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
() button is disabled.
Removing a Superclass
To remove a superclass from a class:
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.
Highlight the superclass you want to remove in the Superclasses pane.
Click the Remove Superclass (
) 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:
Highlight Columnist in the Class Browser.
Highlight Employee in the Superclasses pane.
Click the Remove Superclass
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
class button.
See Deleting a Class.