Difference between revisions of "PrF UG inst entry field symbol"

From Protege Wiki
Jump to: navigation, search
Line 4: Line 4:
 
{{PrF_UG_TOC_inst}}<div id='prf_ug'>
 
{{PrF_UG_TOC_inst}}<div id='prf_ug'>
  
When an instance is created for a class with a slot of
+
When an instance is created for a class with a slot
[[PrF_UG_slots_value_type_symbol|Value Type Symbol]],
+
of [[PrF_UG_slots_value_type_symbol|Value Type Symbol]],
 
the entry field corresponding to the slot is a <b>Symbol</b> entry field.
 
the entry field corresponding to the slot is a <b>Symbol</b> entry field.
 
It takes values from the list of symbols created for the slot.
 
It takes values from the list of symbols created for the slot.
Line 11: Line 11:
 
=== Single Cardinality ===
 
=== Single Cardinality ===
  
The entry field corresponding to a slot of value type Symbol with Cardinality Single can contain a single value.
+
The entry field corresponding to a slot of value type Symbol with Cardinality Single
 +
can contain a single value.
 
It appears as a drop-down list:
 
It appears as a drop-down list:
  
<div>[[Image:PrF_UG_inst_entry_field_symbol.png|instances_entry_field_symbol]]</div>
+
<div>[[Image:PrF_UG_inst_entry_field_symbol.png|
 +
      instances_entry_field_symbol]]</div>
  
 
<ul class='a'>
 
<ul class='a'>
Line 35: Line 37:
 
=== Multiple Cardinality ===
 
=== Multiple Cardinality ===
  
The entry field corresponding to a slot of value type Symbol with Cardinality Multiple shows a display list with three buttons.
+
The entry field corresponding to a slot of value type Symbol with Cardinality Multiple
 +
shows a display list with three buttons.
 
This field takes a list of symbol values.
 
This field takes a list of symbol values.
If the <b>at most</b> value is set in the
+
If the <b>at most</b> value is set
[[PrF_UG_slots_slot_editor#Cardinality|Cardinality]]
+
in the [[PrF_UG_slots_slot_editor#Cardinality|Cardinality]] field for the slot,
field for the slot,
 
 
there is a limit on the number of values you can enter.
 
there is a limit on the number of values you can enter.
  
<div>[[Image:PrF_UG_inst_entry_symbol_multiple.png|instances_entry_symbol_multiple]]</div>
+
<div>[[Image:PrF_UG_inst_entry_symbol_multiple.png|
 +
      instances_entry_symbol_multiple]]</div>
  
 
To edit a pre-existing value:
 
To edit a pre-existing value:
Line 53: Line 56:
 
   <li><p>
 
   <li><p>
 
     Click the <b>View Value</b>
 
     Click the <b>View Value</b>
     [[Image:PrF_UG_all_object.view.gif|all_object.view]]
+
     [[Image:PrF_UG_all_object.view.gif|all_object.view]] button.
    button.
 
 
     An <b>Edit Symbol</b> dialog box will be displayed.
 
     An <b>Edit Symbol</b> dialog box will be displayed.
 
     </p>
 
     </p>
Line 72: Line 74:
 
   <li><p>
 
   <li><p>
 
     Click the <b>Create Value</b>
 
     Click the <b>Create Value</b>
     [[Image:PrF_UG_all_object.add.gif|all_object.add]]
+
     [[Image:PrF_UG_all_object.add.gif|all_object.add]] button.
    button.
 
 
     A <b>Create Symbol</b> dialog box will be displayed.
 
     A <b>Create Symbol</b> dialog box will be displayed.
 
     </p>
 
     </p>
Line 96: Line 97:
 
   <li><p>
 
   <li><p>
 
     Click the <b>Remove Value</b>
 
     Click the <b>Remove Value</b>
     [[Image:PrF_UG_all_object.remove.gif|all_object.remove]]
+
     [[Image:PrF_UG_all_object.remove.gif|all_object.remove]] button.
    button.
 
 
     The selected values will be removed.
 
     The selected values will be removed.
 
     </p>
 
     </p>

Revision as of 15:26, October 15, 2008

The Symbol Fields


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 an instance is created for a class with a slot of Value Type Symbol, the entry field corresponding to the slot is a Symbol entry field. It takes values from the list of symbols created for the slot.

Single Cardinality

The entry field corresponding to a slot of value type Symbol with Cardinality Single can contain a single value. It appears as a drop-down list:

instances_entry_field_symbol
  • To create the value of the slot, click on the list and double-click to select your choice.

  • To change the value of the slot, make a different choice from the list.

  • To remove the value of the slot, select the blank value at the top of the list.

Multiple Cardinality

The entry field corresponding to a slot of value type Symbol with Cardinality Multiple shows a display list with three buttons. This field takes a list of symbol values. If the at most value is set in the Cardinality field for the slot, there is a limit on the number of values you can enter.

instances_entry_symbol_multiple

To edit a pre-existing value:

  1. Select the value you want to edit.

  2. Click the View Value all_object.view button. An Edit Symbol dialog box will be displayed.

  3. Select the value from the menu.

  4. Click OK.

To add a value:

  1. Click the Create Value all_object.add button. A Create Symbol dialog box will be displayed.

  2. Select the value from the menu.

  3. Click OK.

To remove a value:

  1. Select the value(s) you want to remove. You can select multiple values by holding down the Ctrl key.

  2. Click the Remove Value all_object.remove button. The selected values will be removed.