Difference between revisions of "PrF UG slots removing a slot"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
Line 20: Line 20:
 
you may not remove an inherited slot.
 
you may not remove an inherited slot.
 
Removing a slot cannot be undone;
 
Removing a slot cannot be undone;
you may wish to
+
you may wish to [[PrF_UG_projects_saving_a_project|save]]
[[PrF_UG_projects_saving_a_project|save]]
+
or [[PrF_UG_projects_archive_project|archive]]
or
 
[[PrF_UG_projects_archive_project|archive]]
 
 
the project before removing slots.
 
the project before removing slots.
  
Line 32: Line 30:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Display the
+
     Display the [[PrF_UG_classes_class_editor|Class Editor]]
    [[PrF_UG_classes_class_editor|Class Editor]]
 
 
     for the class which has the slot you want to remove.
 
     for the class which has the slot you want to remove.
     The slots for the class will be displayed in the
+
     The slots for the class will be displayed
    [[PrF_UG_classes_template_slot_pane|Template Slots pane]].
+
    in the [[PrF_UG_classes_template_slot_pane|Template Slots pane]].
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     Highlight the slot(s) you wish to remove in the
+
     Highlight the slot(s) you wish to remove
    [[PrF_UG_classes_template_slot_pane|Template Slots pane]].
+
    in the [[PrF_UG_classes_template_slot_pane|Template Slots pane]].
 
     To highlight multiple slots,
 
     To highlight multiple slots,
 
     hold down the <b>Ctrl</b> (<b>Cmd</b>) key while clicking each slot.
 
     hold down the <b>Ctrl</b> (<b>Cmd</b>) key while clicking each slot.
     To highlight a range of slots,
+
     To highlight a range of slots, click the first slot,
    click the first slot,
 
 
     then hold down the <b>Shift</b> key and click the last slot in the range.
 
     then hold down the <b>Shift</b> key and click the last slot in the range.
 
     </p>
 
     </p>
Line 60: Line 56:
 
=== Removing a Class from the Domain of a Slot ===
 
=== Removing a Class from the Domain of a Slot ===
  
To remove a class from the classes listed in the
+
To remove a class from the classes listed
[[PrF_UG_slots_slot_editor#Domain|domain]]
+
in the [[PrF_UG_slots_slot_editor#Domain|domain]] of a slot:
of a slot:
 
  
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Display the
+
     Display the [[PrF_UG_slots_slot_editor|Slot Editor]]
    [[PrF_UG_slots_slot_editor|Slot Editor]]
 
 
     for the desired slot.
 
     for the desired slot.
 
     The Domain is located at the bottom right of the Slot Editor.
 
     The Domain is located at the bottom right of the Slot Editor.
Line 81: Line 75:
 
   <li><p>
 
   <li><p>
 
     Click the <b>Remove Class</b>
 
     Click the <b>Remove Class</b>
     [[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]]
+
     [[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]] button
     button at the top right of the Domain facet.
+
     at the top right of the Domain facet.
 
     </p>
 
     </p>
 
</ol>
 
</ol>
  
 
You can also <b> delete</b> a slot from the entire knowledge base,
 
You can also <b> delete</b> a slot from the entire knowledge base,
using the
+
using the [[PrF_UG_slots_slots_tab|Slots tab]].
[[PrF_UG_slots_slots_tab|Slots tab]].
+
See [[PrF_UG_slots_deleting_a_slot|Deleting a Slot]]
See
 
[[PrF_UG_slots_deleting_a_slot|Deleting a Slot]]
 
 
for more information.
 
for more information.
  
 
</div>
 
</div>

Revision as of 15:11, October 16, 2008

Removing a Slot from a Class


Protege-Frames User's Guide
Slots
The Slots Tab
The Slot Browser
The Slot Buttons
The Slot Menu
The Slot Editor
The Value Type Menu
The Any Value Type
The Boolean Value Type
The Class Value Type
The Float Value Type
The Instance Value Type
The Integer Value Type
The String Value Type
The Symbol Value Type
Creating a New Slot
Viewing a Slot
Editing a Top-Level Slot
Overriding Slot Properties at a Class
Editing Slot Properties
Removing a Slot from a Class
Deleting a Slot from the Project
Adding a Slot to a Class
Removing Overrides From a Slot
Understanding Inverse Slots
Creating an Inverse Slot Relationship
Working with Subslots
Finding a Slot
The Slot Hierarchy Window
The Slot Icons
The Superslots Pane
Glossary, Editing Help

You can remove a slot from a class without deleting it from the knowledge base. You can remove the association between a slot and a class in one of two ways:

  • removing the slot from the template slots of the class

  • removing the class from the domain of the slot

You can only remove a direct slot from a class; you may not remove an inherited slot. Removing a slot cannot be undone; you may wish to save or archive the project before removing slots.

Removing a Slot at a Class

To remove a slot from the list of template slots for a class:

  1. Display the Class Editor for the class which has the slot you want to remove. The slots for the class will be displayed in the Template Slots pane.

  2. Highlight the slot(s) you wish to remove in the Template Slots pane. To highlight multiple slots, hold down the Ctrl (Cmd) key while clicking each slot. To highlight a range of slots, click the first slot, then hold down the Shift key and click the last slot in the range.

  3. Click the Remove Slot slots_slot.remove Template Slot button. Any slots you removed no longer appear among the slots for the class. They are also removed from any subclasses of the class.

Removing a Class from the Domain of a Slot

To remove a class from the classes listed in the domain of a slot:

  1. Display the Slot Editor for the desired slot. The Domain is located at the bottom right of the Slot Editor.

  2. Select the class(es) you wish to remove from your slot. To remove more than one class, hold down Ctrl (Cmd) while clicking, or use the Shift key to select a range of classes.

  3. Click the Remove Class classes_class.remove button at the top right of the Domain facet.

You can also delete a slot from the entire knowledge base, using the Slots tab. See Deleting a Slot for more information.