PrF UG inst set display slot

From Protege Wiki

Jump to: navigation, search

Setting the Display Slot


Protege-Frames User's Guide
Instances
Instances Tab
Class Browser at Instances Tab
Instance Browser
Instances Window
Instance Buttons
Instance Menu
Types Pane
Instance Editor
Standard Field Types
Fields with Multiple Cardinality
Boolean Fields
Class Fields
Float Fields
Instance Fields
Integer Fields
String Fields
Symbol Fields
Creating an Instance
Creating Multiple Instances
Displaying the Instance Editor
Setting the Display Slot
Showing Subclass Instances
Editing an Instance
Copying an Instance
Deleting an Instance
Finding an Instance
Changing an Instance's Class
Working with Instance Types
Instance Icons
Glossary, Editing Help

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:

  1. At the Instances tab, click on the class for which you want to set the display slot.

  2. Click the Instance menu icon at the top right of the Instance Browser.

    Instance Browser, Instance menu icon
  3. Select Set Display Slot from the menu.

    Instance menu
  4. You will see a list of all the slots for the class. Click the one you want as the display slot.

    Display Slot sub-menu, "date" selected
  5. The Instance Browser changes to reflect the slot you have chosen. Slots are displayed by alphabetical or numerical order.

    Instance Browser, "06/25/97" selected

Setting the Display Slot in the Form Editor

To set the display slot in the Form Editor:

  1. Click on the Display Slot menu at the top of the Form Editor.

    Display Slot menu (closed)
  2. You will see a list of all the slots for the class. Click the one you want as the display slot.

    Display Slot menu (open)

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:

  1. In the Instance Browser or Form Editor, select Multiple Slots from the menu.

    Multislot Display Pattern dialog
  2. Enter any leading text you want for each instance. For example, you might want to enter the name of the first slot.

  3. Select the first display slot from the first menu.

  4. 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.

  5. Continue until you have set up the slots and text you want. You can choose up to five display slots.

    Multislot Display Pattern dialog
  6. Click OK. The slots you have chosen are displayed in the Instance Browser, along with any additional text:

    Instance Browser, showing results

Clearing the Display Slot

To clear the display slot and revert to Protege-Frames default:

  1. In the Instance Browser or Form Editor, select Multiple Slots from the menu.

  2. For each menu where a slot name appears, select the blank value at the top of the menu.

    Multislot Display Pattern dialog, with menu
  3. Delete any text in the text boxes.

  4. Click OK.


Personal tools