Difference between revisions of "PrF UG forms additional widgets"
(Automated import of articles) |
|||
Line 6: | Line 6: | ||
When {{#var:PrF}} generates a default layout, | When {{#var:PrF}} generates a default layout, | ||
it creates a default widget for each slot. | it creates a default widget for each slot. | ||
− | However, | + | However, the [[PrF_UG_forms_widget_type_menu|Widget Type Menu]] |
− | the | ||
− | [[PrF_UG_forms_widget_type_menu|Widget Type Menu]] | ||
allows you to to change the widget type for the currently selected widget. | allows you to to change the widget type for the currently selected widget. | ||
− | The choices for type of widget depend on the | + | The choices for type of widget depend |
− | [[PrF_UG_slots_value_type_menu|value type]] | + | on the [[PrF_UG_slots_value_type_menu|value type]] of the slot. |
− | of the slot. | ||
Some value types have only one possible widget. | Some value types have only one possible widget. | ||
Line 55: | Line 52: | ||
<li><p> | <li><p> | ||
[[PrF_UG_forms_contains|ContainsWidget]], | [[PrF_UG_forms_contains|ContainsWidget]], | ||
− | which displays the Instance or Class Editor for single or multiple Instance or Class values | + | which displays the Instance or Class Editor |
+ | for single or multiple Instance or Class values | ||
</p> | </p> | ||
<li><p> | <li><p> | ||
[[PrF_UG_forms_directinstances|DirectInstancesWidget]], | [[PrF_UG_forms_directinstances|DirectInstancesWidget]], | ||
− | which restricts the values of an Instances field to direct instances of the Allowed Classes. | + | which restricts the values of an Instances field |
+ | to direct instances of the Allowed Classes. | ||
</p> | </p> | ||
</ul> | </ul> | ||
Line 66: | Line 65: | ||
You can also change a Boolean field from a CheckBoxWidget to a ComboBoxWidget. | You can also change a Boolean field from a CheckBoxWidget to a ComboBoxWidget. | ||
− | In addition, | + | In addition, the [[PrF_UG_|graph widget]] is available for some fields. |
− | the | ||
− | [[PrF_UG_|graph widget]] | ||
− | is available for some fields. | ||
− | <b>Note:</b> You may see additional widgets on the Selected Widget Type menu. | + | <b>Note:</b> |
+ | You may see additional widgets on the Selected Widget Type menu. | ||
Not all of these widgets are currently working correctly; | Not all of these widgets are currently working correctly; | ||
− | we do not recommend the use of widgets other than the ones listed here unless they are part of a plug-in. | + | we do not recommend the use of widgets other than the ones listed here |
+ | unless they are part of a plug-in. | ||
− | To change a widget, | + | To change a widget, first select the widget you want to change, |
− | first select the widget you want to change, | ||
then select the new widget type from the | then select the new widget type from the | ||
[[PrF_UG_forms_widget_type_menu|Widget Type Menu]]. | [[PrF_UG_forms_widget_type_menu|Widget Type Menu]]. | ||
</div> | </div> |
Revision as of 13:56, October 15, 2008
Additional Widget Types
When Protege-Frames generates a default layout, it creates a default widget for each slot. However, the Widget Type Menu allows you to to change the widget type for the currently selected widget. The choices for type of widget depend on the value type of the slot. Some value types have only one possible widget.
The following additional widget types are available:
InstanceRowWidget or InstanceTableWidget, which allow you to see a summary of all the slots of an Instance value
ContainsWidget, which displays the Instance or Class Editor for single or multiple Instance or Class values
DirectInstancesWidget, which restricts the values of an Instances field to direct instances of the Allowed Classes.
You can also change a Boolean field from a CheckBoxWidget to a ComboBoxWidget.
In addition, the graph widget is available for some fields.
Note: You may see additional widgets on the Selected Widget Type menu. Not all of these widgets are currently working correctly; we do not recommend the use of widgets other than the ones listed here unless they are part of a plug-in.
To change a widget, first select the widget you want to change, then select the new widget type from the Widget Type Menu.