Difference between revisions of "PrF UG inst set display slot"
(11 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Setting the Display Slot == | == Setting the Display Slot == | ||
− | {{PrF_UG_TOC_inst}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_inst}}<div id='prf_ug'><noinclude> |
When you begin to create instances for a class, | When you begin to create instances for a class, | ||
− | you may see that the names used in the | + | you may see that the names used |
− | [[PrF_UG_inst_instance_browser|Instance Browser]] | + | in the [[PrF_UG_inst_instance_browser|Instance Browser]] |
are not very useful. | are not very useful. | ||
− | You can change the display so that the instances are listed by the values of one | + | You can change the display so that the instances are listed |
− | (or more) | + | by the values of one (or more) fields; |
− | fields; | + | for example, a "Name" field or a "Headline" field. |
− | for example, | + | To do this, you set the <i>display slot</i>. |
− | a "Name" field or a "Headline" field. | + | |
− | To do this, | ||
− | you set the <i>display slot</i>. | ||
The display slot can be set in two locations: | The display slot can be set in two locations: | ||
the Instance Browser and the Form Editor. | the Instance Browser and the Form Editor. | ||
You can also choose multiple slots for the display slot. | You can also choose multiple slots for the display slot. | ||
− | If you do not set the display slot, {{#var:PrF}} uses a default internal slot. | + | If you do not set the display slot, |
+ | {{#var:PrF}} uses a default internal slot. | ||
If you set a display slot for a class, | If you set a display slot for a class, | ||
it is inherited by its subclasses. | it is inherited by its subclasses. | ||
Line 28: | Line 27: | ||
<ol class='a'> | <ol class='a'> | ||
<li><p> | <li><p> | ||
− | At the Instances | + | At the Instances tab, |
click on the class for which you want to set the display slot. | click on the class for which you want to set the display slot. | ||
</p> | </p> | ||
<li><p> | <li><p> | ||
− | Click the Instance | + | Click the Instance menu icon at the top right of the Instance Browser. |
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_instance_menu_context.png|frame|none| | ||
+ | Instance Browser, Instance menu icon]]</div> | ||
<li><p> | <li><p> | ||
Select <b>Set Display Slot</b> from the menu. | Select <b>Set Display Slot</b> from the menu. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_menu_intermediate.png|frame|none| | ||
+ | Instance menu]]</div> | ||
<li><p> | <li><p> | ||
You will see a list of all the slots for the class. | You will see a list of all the slots for the class. | ||
Click the one you want as the display slot. | Click the one you want as the display slot. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_menu_final.png|frame|none| | ||
+ | Display Slot sub-menu, "date" selected]]</div> | ||
<li><p> | <li><p> | ||
The Instance Browser changes to reflect the slot you have chosen. | The Instance Browser changes to reflect the slot you have chosen. | ||
Slots are displayed by alphabetical or numerical order. | Slots are displayed by alphabetical or numerical order. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_browser.png|frame|none| | ||
+ | Instance Browser, "06/25/97" selected]]</div> | ||
</ol> | </ol> | ||
Line 66: | Line 65: | ||
<li><p> | <li><p> | ||
Click on the <b>Display Slot</b> menu at the top of the Form Editor. | Click on the <b>Display Slot</b> menu at the top of the Form Editor. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_form_editor.png|frame|none| | ||
+ | Display Slot menu (closed)]]</div> | ||
<li><p> | <li><p> | ||
You will see a list of all the slots for the class. | You will see a list of all the slots for the class. | ||
Click the one you want as the display slot. | Click the one you want as the display slot. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_form_editor_final.png|frame|none| | ||
+ | Display Slot menu (open)]]</div> | ||
</ol> | </ol> | ||
Line 88: | Line 87: | ||
In the Instance Browser or Form Editor, | In the Instance Browser or Form Editor, | ||
select <b>Multiple Slots</b> from the menu. | select <b>Multiple Slots</b> from the menu. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_multiple.png|frame|none| | ||
+ | Multislot Display Pattern dialog]]</div> | ||
<li><p> | <li><p> | ||
Enter any leading text you want for each instance. | Enter any leading text you want for each instance. | ||
− | For example, | + | For example, you might want to enter the name of the first slot. |
− | |||
</p> | </p> | ||
Line 104: | Line 102: | ||
<li><p> | <li><p> | ||
Enter any text you want to appear between slots. | Enter any text you want to appear between slots. | ||
− | For example, | + | For example, you might want to use spaces, a dash (-), |
− | |||
− | |||
or a slash (/) to separate items. | or a slash (/) to separate items. | ||
</p> | </p> | ||
Line 113: | Line 109: | ||
Continue until you have set up the slots and text you want. | Continue until you have set up the slots and text you want. | ||
You can choose up to five display slots. | You can choose up to five display slots. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_multiple_final.png|frame|none| | ||
+ | Multislot Display Pattern dialog]]</div> | ||
<li><p> | <li><p> | ||
Line 121: | Line 117: | ||
The slots you have chosen are displayed in the Instance Browser, | The slots you have chosen are displayed in the Instance Browser, | ||
along with any additional text: | along with any additional text: | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_multiple_browser.png|frame|none| | ||
+ | Instance Browser, showing results]]</div> | ||
</ol> | </ol> | ||
Line 139: | Line 135: | ||
For each menu where a slot name appears, | For each menu where a slot name appears, | ||
select the blank value at the top of the menu. | select the blank value at the top of the menu. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_display_slot_clearing.png|frame|none| | ||
+ | Multislot Display Pattern dialog, with menu]]</div> | ||
<li><p> | <li><p> | ||
Line 153: | Line 149: | ||
− | </div> | + | <noinclude></div></noinclude> |
Latest revision as of 17:15, November 13, 2008
Setting the Display Slot
When you begin to create instances for a class, you may see that the names used in the Instance Browser are not very useful. You can change the display so that the instances are listed by the values of one (or more) fields; for example, a "Name" field or a "Headline" field. To do this, you set the display slot.
The display slot can be set in two locations: the Instance Browser and the Form Editor. You can also choose multiple slots for the display slot. If you do not set the display slot, Protege-Frames uses a default internal slot. If you set a display slot for a class, it is inherited by its subclasses.
Setting the Display Slot at the Instance Browser
To set the display slot at the Instance Browser:
At the Instances tab, click on the class for which you want to set the display slot.
Click the Instance menu icon at the top right of the Instance Browser.
Select Set Display Slot from the menu.
You will see a list of all the slots for the class. Click the one you want as the display slot.
The Instance Browser changes to reflect the slot you have chosen. Slots are displayed by alphabetical or numerical order.
Setting the Display Slot in the Form Editor
To set the display slot in the Form Editor:
Click on the Display Slot menu at the top of the Form Editor.
You will see a list of all the slots for the class. Click the one you want as the display slot.
Setting Multiple Display Slots
You can list instances by multiple slots in the Instance Browser. This can give you additional information about the instances. To do this:
In the Instance Browser or Form Editor, select Multiple Slots from the menu.
Enter any leading text you want for each instance. For example, you might want to enter the name of the first slot.
Select the first display slot from the first menu.
Enter any text you want to appear between slots. For example, you might want to use spaces, a dash (-), or a slash (/) to separate items.
Continue until you have set up the slots and text you want. You can choose up to five display slots.
Click OK. The slots you have chosen are displayed in the Instance Browser, along with any additional text:
Clearing the Display Slot
To clear the display slot and revert to Protege-Frames default:
In the Instance Browser or Form Editor, select Multiple Slots from the menu.
For each menu where a slot name appears, select the blank value at the top of the menu.
Delete any text in the text boxes.
Click OK.