Difference between revisions of "PrF UG forms select widget type"

From Protege Wiki
Jump to: navigation, search
(Selecting a Widget Display)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Selecting a Widget Display ==
 
== Selecting a Widget Display ==
  
{{PrF_UG_TOC_forms}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_forms}}<div id='prf_ug'></noinclude>
  
 
Some slot types have multiple widget configurations that can be selected
 
Some slot types have multiple widget configurations that can be selected
Line 13: Line 13:
 
you can learn how to use them to get the desired display.
 
you can learn how to use them to get the desired display.
  
 +
<div class='b'>
 
{|
 
{|
 
|
 
|
[[Image:PrF_UG_forms_textareawidget_instance.png|forms_textareawidget_instance]]&nbsp;
+
[[Image:PrF_UG_forms_textareawidget_instance.png|forms_textareawidget_instance]]&nbsp;&nbsp;
[[Image:PrF_UG_forms_yellowstickywidget_small.png|forms_yellowstickywidget_small]]&nbsp;
+
[[Image:PrF_UG_forms_yellowstickywidget_small.png|forms_yellowstickywidget_small]]
 
<div>[[Image:PrF_UG_forms_urlwidget_small.png|forms_urlwidget_small]]</div>
 
<div>[[Image:PrF_UG_forms_urlwidget_small.png|forms_urlwidget_small]]</div>
 
|-
 
|-
 
| align="center" | <b>Various String Widgets</b>
 
| align="center" | <b>Various String Widgets</b>
 
|}
 
|}
 +
</div>
  
 
You can also remove a widget from the form
 
You can also remove a widget from the form
Line 93: Line 95:
  
  
</div>
+
<noinclude></div></noinclude>

Latest revision as of 17:58, November 13, 2008

Selecting a Widget Display


Protege-Frames User's Guide
Forms
Understanding Forms
Forms Tab
Form Browser
Form Buttons
Form Editor
Display Slot Menu
Selected Widget Type Menu
Widget Configuration Dialog
Form Configuration Dialog Box
Default Widget Types
Additional String Widgets
Instance Row and Table Widgets
Contains Widget
Direct Instances Widget
Global Characteristics
Moving or Resizing a Widget
Widget Configuration Properties
Selecting a Widget Display
Hiding a Widget
Customizing a Row or Table Widget
Customizing a Contains Widget
Using a Resource List Widget
Additional Widget Types
Glossary, Editing Help

Some slot types have multiple widget configurations that can be selected from the Widget Type menu. For example, a String slot can have a number of different widgets, such as a TextFieldWidget, TextAreaWidget, a UniqueStringWidget, or a YellowStickyWidget. By experimenting with these widgets, you can learn how to use them to get the desired display.

forms_textareawidget_instance   forms_yellowstickywidget_small

forms_urlwidget_small
Various String Widgets

You can also remove a widget from the form by hiding it completely.

Using the Selected Widget Type Menu

To select a different display for your widget from one of the available configurations:

  1. In the Form Browser at the left of the Forms tab, select the name of the class whose form you wish to edit.

  2. Click the widget you wish to edit in the Form Editor. The widget will be outlined.

  3. Click the Selected Widget Type menu. A list of possible widget types will be displayed.

  4. Select the type of widget that you wish to use.

If you do not select a widget type, Protege-Frames uses a default type, based on the value type of the slot.

Using the Configure Form Dialog Box

You can also select different widgets, using the Configure Form dialog box.

Configure Form dialog, Widgets tab

To change the widget type for the slot:

  1. Double-click on an empty part of the form to display the Form Configuration dialog box.

  2. Click on the widget name in the widget column. A menu will show the list of standard widget types for the slot.

    Note: If the menu does not display, click on the down arrow at the right.

    Configure Form dialog, with menu
  3. Select the widget you want.

  4. Click OK.