Difference between revisions of "PrF UG classes template slot pane"
(Automated import of articles) |
|||
(19 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== The Template Slots Pane == | == The Template Slots Pane == | ||
− | {{PrF_UG_TOC_classes}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude> |
− | The Template Slots pane at the bottom of the | + | The Template Slots pane, at the bottom |
− | [[PrF_UG_classes_class_editor|Class Editor]] | + | of the [[PrF_UG_classes_class_editor|Class Editor]], |
displays the direct and inherited slots for the selected class. | displays the direct and inherited slots for the selected class. | ||
− | Slots, | + | Slots, which represent properties of your class, |
− | which represent properties of your class, | ||
are a crucial part of your knowledge base. | are a crucial part of your knowledge base. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
In the example, | In the example, | ||
<b>Article</b> has a number of slots which appear in the Template Slots pane. | <b>Article</b> has a number of slots which appear in the Template Slots pane. | ||
− | <div>[[Image:PrF_UG_classes_template_slots_pane.png| | + | <div>[[Image:PrF_UG_classes_template_slots_pane.png|thumb|none|600px| |
+ | Template Slots pane]]</div> | ||
=== The Template Slot Buttons === | === The Template Slot Buttons === | ||
− | The buttons at the upper right of the Template Slots pane allow you to edit, | + | The buttons at the upper right of the Template Slots pane allow you |
− | override, | + | to edit, override, add, and remove slots. |
− | add, | + | See the separate [[PrF_UG_classes_template_slot_buttons|Template Slot buttons]] topic |
− | and remove slots. | + | for more information. |
− | See the separate | ||
− | [[PrF_UG_classes_template_slot_buttons|Template Slot | ||
− | |||
− | You can also view, | + | You can also view, create, and delete slots directly |
− | create, | + | from the [[PrF_UG_slots_slots_tab|Slots tab]]. |
− | and delete slots directly from the | + | See the [[PrF_UG_slots_slot_buttons|Slot buttons]] |
− | [[PrF_UG_slots_slots_tab|Slots | ||
− | See the | ||
− | [[PrF_UG_slots_slot_buttons|Slot | ||
for more information. | for more information. | ||
=== The Template Slot Menu === | === The Template Slot Menu === | ||
− | Right-clicking anywhere in the Template Slots pane brings up the Template Slot menu, | + | Right-clicking anywhere in the Template Slots pane |
− | which allows you to edit, | + | brings up the Template Slot menu, |
− | override, | + | which allows you to edit, override, add, and remove slots. |
− | add, | + | These are the same actions provided |
− | and remove slots. | + | by the [[PrF_UG_classes_template_slot_buttons|Template Slot buttons]]. |
− | These are the same actions provided by the | ||
− | [[PrF_UG_classes_template_slot_buttons|Template Slot | ||
− | <div>[[Image:PrF_UG_classes_template_slots_menu_context.png| | + | <div>[[Image:PrF_UG_classes_template_slots_menu_context.png|frame|none| |
+ | Template Slot menu]]</div> | ||
=== The Slot Icons === | === The Slot Icons === | ||
Line 84: | Line 42: | ||
The icons at the left of the column give information about the slot. | The icons at the left of the column give information about the slot. | ||
+ | <div class='b'> | ||
{| summary="slot icons" | {| summary="slot icons" | ||
− | | width=" | + | | width="75" | |
[[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>; | + | | |
− | that is, | + | A blue icon means that the slot is <i>direct</i>; |
− | it was created directly on the selected class. <b>responsible_for</b> is a direct slot. | + | that is, it was created directly on the selected class. |
+ | <b>responsible_for</b> is a direct slot. | ||
|- | |- | ||
| | | | ||
[[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> from one of the selected class's ancestors. | + | | |
− | Inherited slots can be edited, | + | A bracketed icon means that the slot is <i>inherited</i> |
− | but not deleted; | + | 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. | there are also some restrictions on the edits that are allowed. | ||
In the example above, | In the example above, | ||
Line 102: | Line 63: | ||
| | | | ||
[[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>; | + | | |
− | that is, | + | A bracketed icon containing "0" means the slot has <i>overrides</i>; |
− | 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. |
|} | |} | ||
+ | </div> | ||
=== Slot Summary Columns === | === Slot Summary Columns === | ||
− | The columns in the Slot Templates | + | The columns in the Slot Templates pane summarize the slot properties; |
− | these can be viewed and edited in the | + | these can be viewed and edited |
− | [[PrF_UG_slots_slot_editor|Slot Editor]] | + | in the [[PrF_UG_slots_slot_editor|Slot Editor]] |
− | or | + | or [[PrF_UG_slots_slots_tab|Slots tab]]. |
− | [[PrF_UG_slots_slots_tab|Slots | ||
+ | <div class='b'> | ||
{| summary="slot summary columns" | {| summary="slot summary columns" | ||
− | | <b>Name</b> | + | | width="75" | |
− | | Displays the name of the slot. | + | <b>Name</b> |
− | Hovering over the name of an inherited slot will show the names of the class(es) that the slot is inherited from. | + | | |
+ | 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. | ||
|- | |- | ||
− | | <b>Cardinality</b> | + | | |
− | | Indicates whether a slot value can consist of <b>Multiple</b> items or must be a <b>Single</b> item. | + | <b>Cardinality</b> |
+ | | | ||
+ | Indicates whether a slot value can consist of <b>Multiple</b> items | ||
+ | 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. | ||
Available types are: | Available types are: | ||
− | <b>Any</b>, | + | <b>Any</b>, <b>Boolean</b>, <b>Class</b>, <b>Float</b>, |
− | <b>Boolean</b>, | + | <b>Instance</b>, <b>Integer</b>, <b>String</b>, and <b>Symbol</b>. |
− | <b>Class</b>, | ||
− | <b>Float</b>, | ||
− | <b>Instance</b>, | ||
− | <b>Integer</b>, | ||
− | <b>String</b>, | ||
− | and <b>Symbol</b>. | ||
For slots of type <b>Class</b> or <b>Integer</b>, | For slots of type <b>Class</b> or <b>Integer</b>, | ||
also displays the allowed classes. | also displays the allowed classes. | ||
− | See | + | See [[PrF_UG_slots_value_type_menu|The Value Type menu]] |
− | [[PrF_UG_slots_value_type_menu|The Value Type | ||
for more information. | for more information. | ||
|- | |- | ||
− | |||
| | | | ||
− | Displays any other facets defined in the | + | <b>Other Facets</b> |
− | [[PrF_UG_slots_slot_editor|Slot Editor]] | + | | |
− | or | + | Displays any other facets defined |
− | [[PrF_UG_slots_slots_tab|Slots | + | in the [[PrF_UG_slots_slot_editor|Slot Editor]] |
− | such as any required values, | + | or [[PrF_UG_slots_slots_tab|Slots tab]], |
− | defaults, | + | such as any required values, defaults, |
or minimum or maximum values. | or minimum or maximum values. | ||
Also lists the allowed values for a slot of type <b>Symbol</b>. | Also lists the allowed values for a slot of type <b>Symbol</b>. | ||
|} | |} | ||
+ | </div> | ||
+ | |||
− | </div> | + | <noinclude></div></noinclude> |
Latest revision as of 16:39, November 13, 2008
The Template Slots Pane
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.
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.
The Slot Icons
The icons at the left of the column give information about the 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. | |
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. | |
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. |