Difference between revisions of "PrF UG classes template slot pane"

From Protege Wiki

Jump to: navigation, search
(Slot Summary Columns)
Line 44: Line 44:
 
| width="50" |
 
| width="50" |
 
[[Image:PrF_UG_slots_slot.gif|slots_slot]]
 
[[Image:PrF_UG_slots_slot.gif|slots_slot]]
| A blue icon means that the slot is <i>direct</i>;
+
|
 +
A blue icon means that the slot is <i>direct</i>;
 
that is, it was created directly on the selected class.
 
that is, it was created directly on the selected class.
 
<b>responsible_for</b> is a direct slot.
 
<b>responsible_for</b> is a direct slot.
Line 50: Line 51:
 
|
 
|
 
[[Image:PrF_UG_slots_slot.inherited.gif|slots_slot.inherited]]
 
[[Image:PrF_UG_slots_slot.inherited.gif|slots_slot.inherited]]
| A bracketed icon means that the slot is <i>inherited</i>
+
|
 +
A bracketed icon means that the slot is <i>inherited</i>
 
from one of the selected class's ancestors.
 
from one of the selected class's ancestors.
 
Inherited slots can be edited, but not deleted;
 
Inherited slots can be edited, but not deleted;
Line 59: Line 61:
 
|
 
|
 
[[Image:PrF_UG_slots_slot.inherited.overridden.gif|slots_slot.inherited.overridden]]
 
[[Image:PrF_UG_slots_slot.inherited.overridden.gif|slots_slot.inherited.overridden]]
| A bracketed icon containing "0" means the slot has <i>overrides</i>;
+
|
 +
A bracketed icon containing "0" means the slot has <i>overrides</i>;
 
that is, the slot is inherited <i>and</i> it has been modified at the class.
 
that is, the slot is inherited <i>and</i> it has been modified at the class.
 
|}
 
|}
Line 71: Line 74:
  
 
{| summary="slot summary columns"
 
{| summary="slot summary columns"
| <b>Name</b>
+
|
 +
<b>Name</b>
 
|
 
|
 
Displays the name of the slot.
 
Displays the name of the slot.
Line 77: Line 81:
 
will show the names of the class(es) that the slot is inherited from.
 
will show the names of the class(es) that the slot is inherited from.
 
|-
 
|-
| <b>Cardinality</b>
+
|
 +
<b>Cardinality</b>
 
|
 
|
 
Indicates whether a slot value can consist of <b>Multiple</b> items
 
Indicates whether a slot value can consist of <b>Multiple</b> items
 
or must be a <b>Single</b> item.
 
or must be a <b>Single</b> item.
 
|-
 
|-
| <b>Type</b>
+
|
 +
<b>Type</b>
 
|
 
|
 
Indicates the kind of values that the slot may hold.
 
Indicates the kind of values that the slot may hold.
Line 93: Line 99:
 
for more information.
 
for more information.
 
|-
 
|-
| <b>Other Facets</b>
+
|
 +
<b>Other Facets</b>
 
|
 
|
 
Displays any other facets defined
 
Displays any other facets defined

Revision as of 00:43, October 16, 2008

The Template Slots Pane


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 Template Slots pane at the bottom of the Class Editor displays the direct and inherited slots for the selected class. Slots, which represent properties of your class, are a crucial part of your knowledge base. In the example, Article has a number of slots which appear in the Template Slots pane.

classes_template_slots_pane

The Template Slot Buttons

The buttons at the upper right of the Template Slots pane allow you to edit, override, add, and remove slots. See the separate Template Slot Buttons topic for more information.

You can also view, create, and delete slots directly from the Slots Tab. See the Slot Buttons for more information.

The Template Slot Menu

Right-clicking anywhere in the Template Slots pane brings up the Template Slot menu, which allows you to edit, override, add, and remove slots. These are the same actions provided by the Template Slot Buttons.

classes_template_slots_menu_context

The Slot Icons

The icons at the left of the column give information about the slot.

slots_slot

A blue icon means that the slot is direct; that is, it was created directly on the selected class. responsible_for is a direct slot.

slots_slot.inherited

A bracketed icon means that the slot is inherited from one of the selected class's ancestors. Inherited slots can be edited, but not deleted; there are also some restrictions on the edits that are allowed. In the example above, containing_section is an inherited slot.

slots_slot.inherited.overridden

A bracketed icon containing "0" means the slot has overrides; that is, the slot is inherited and it has been modified at the class.

Slot Summary Columns

The columns in the Slot Templates Pane summarize the slot properties; these can be viewed and edited in the Slot Editor or Slots Tab.

Name

Displays the name of the slot. Hovering over the name of an inherited slot will show the names of the class(es) that the slot is inherited from.

Cardinality

Indicates whether a slot value can consist of Multiple items or must be a Single item.

Type

Indicates the kind of values that the slot may hold. Available types are: Any, Boolean, Class, Float, Instance, Integer, String, and Symbol. For slots of type Class or Integer, also displays the allowed classes. See The Value Type Menu for more information.

Other Facets

Displays any other facets defined in the Slot Editor or Slots Tab, such as any required values, defaults, or minimum or maximum values. Also lists the allowed values for a slot of type Symbol.

Personal tools