Difference between revisions of "PrF UG slots value type menu"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
Line 4: Line 4:
 
{{PrF_UG_TOC_slots}}<div id='prf_ug'>
 
{{PrF_UG_TOC_slots}}<div id='prf_ug'>
  
The Value Type menu in the
+
The Value Type menu
[[PrF_UG_slots_slot_editor|Slot Editor]]
+
in the [[PrF_UG_slots_slot_editor|Slot Editor]]
 
allows you to select the slot value type,
 
allows you to select the slot value type,
 
which determines the kind of values that the slot may hold.
 
which determines the kind of values that the slot may hold.
When a value type of <b>Class</b>,
+
When a value type of <b>Class</b>, <b>Instance</b>, or <b>Symbol</b> is selected,
<b>Instance</b>,
 
or <b>Symbol</b> is selected,
 
 
an additional pane appears below the <b>Value Type</b> menu.
 
an additional pane appears below the <b>Value Type</b> menu.
  
Line 16: Line 14:
  
 
When you are creating instances for a slot,
 
When you are creating instances for a slot,
the slot type also determines how the slot is displayed in the
+
the slot type also determines how the slot is displayed
[[PrF_UG_inst_instance_editor|Instance Editor]].
+
in the [[PrF_UG_inst_instance_editor|Instance Editor]].
See the
+
See the [[PrF_UG_inst_standard_fields|Standard Widgets]]
[[PrF_UG_inst_standard_fields|Standard Widgets]]
 
 
for more information about instances and type.
 
for more information about instances and type.
  
Line 32: Line 29:
 
   <li><p>
 
   <li><p>
 
     [[PrF_UG_slots_value_type_boolean|Boolean]]:
 
     [[PrF_UG_slots_value_type_boolean|Boolean]]:
     a logical,
+
     a logical, Boolean value;
    Boolean value;
+
     i.e., a value that is either true or false
     i.e.,
 
    a value that is either true or false
 
 
     </p>
 
     </p>
  

Revision as of 11:12, October 17, 2008

The Value Type Menu


Protege-Frames User's Guide
Slots
The Slots Tab
The Slot Browser
The Slot Buttons
The Slot Menu
The Slot Editor
The Value Type Menu
The Any Value Type
The Boolean Value Type
The Class Value Type
The Float Value Type
The Instance Value Type
The Integer Value Type
The String Value Type
The Symbol Value Type
Creating a New Slot
Viewing a Slot
Editing a Top-Level Slot
Overriding Slot Properties at a Class
Editing Slot Properties
Removing a Slot from a Class
Deleting a Slot from the Project
Adding a Slot to a Class
Removing Overrides From a Slot
Understanding Inverse Slots
Creating an Inverse Slot Relationship
Working with Subslots
Finding a Slot
The Slot Hierarchy Window
The Slot Icons
The Superslots Pane
Glossary, Editing Help

The Value Type menu in the Slot Editor allows you to select the slot value type, which determines the kind of values that the slot may hold. When a value type of Class, Instance, or Symbol is selected, an additional pane appears below the Value Type menu.

slots_value_type_menu

When you are creating instances for a slot, the slot type also determines how the slot is displayed in the Instance Editor. See the Standard Widgets for more information about instances and type.

The following value types are available:

  • Any: the slot can take any of the values on the menu.

  • Boolean: a logical, Boolean value; i.e., a value that is either true or false

  • Class: the slot takes one or more classes as values

  • Float: the slot has a floating-point number as a value

  • Instance: the slot takes one or more instances as values

  • Integer: the slot takes an integer as a value

  • String: the slot takes ASCII text strings as values

  • Symbol: the slot takes values from a list of strings you define