Difference between revisions of "PrF UG inst add class type"
(Automated import of articles) |
|||
Line 4: | Line 4: | ||
{{PrF_UG_TOC_inst}}<div id='prf_ug'> | {{PrF_UG_TOC_inst}}<div id='prf_ug'> | ||
− | The | + | The [[PrF_UG_inst_types_pane|Types Pane]], |
− | [[PrF_UG_inst_types_pane|Types Pane]], | + | in the [[PrF_UG_inst_instance_browser|Instance Browser]], |
− | in the | ||
− | [[PrF_UG_inst_instance_browser|Instance Browser]], | ||
allows you to add and remove <i>types</i> for an instance; | allows you to add and remove <i>types</i> for an instance; | ||
− | that is, | + | that is, the classes for which the selected instance is a direct instance. |
− | the classes for which the selected instance is a direct instance. | + | Assigning multiple types to an instance allows you to build an instance |
− | Assigning multiple types to an instance allows you to build an instance which combines field characteristics from two or more classes. | + | which combines field characteristics from two or more classes. |
=== Adding a Type === | === Adding a Type === | ||
Line 24: | Line 22: | ||
The classes where this instance is direct will be shown in the Types Pane, | The classes where this instance is direct will be shown in the Types Pane, | ||
at the bottom of the Instance Browser. | at the bottom of the Instance Browser. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_types_pane.png|instances_types_pane]]</div> | ||
<li><p> | <li><p> | ||
Click the <b>Add Class</b> | Click the <b>Add Class</b> | ||
− | [[Image:PrF_UG_classes_class.add.gif|classes_class.add]] | + | [[Image:PrF_UG_classes_class.add.gif|classes_class.add]] button |
− | + | at the top of the Types Pane. | |
</p> | </p> | ||
<li><p> | <li><p> | ||
− | In the <b>Select Classes</b> dialog box, | + | In the <b>Select Classes</b> dialog box, select the additional class(es) |
− | + | where this instance will be a direct instance and click <b>OK</b>. | |
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_select_types.png|instances_select_types]]</div> | ||
<li><p> | <li><p> | ||
Line 46: | Line 42: | ||
one for each class type. | one for each class type. | ||
Any shared fields will contain identical values. | Any shared fields will contain identical values. | ||
− | Editing a field value in one form edits the same field in all the forms where it appears. | + | Editing a field value in one form edits the same field |
− | + | in all the forms where it appears. | |
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_instance_editor_multi_types_small.png|instances_instance_editor_multi_types_small]]</div> | ||
</ol> | </ol> | ||
=== Deleting a Type === | === Deleting a Type === | ||
− | For a multi-type instance, | + | For a multi-type instance, you can delete types. |
− | you can delete types. | ||
To do this: | To do this: | ||
<ol class='a'> | <ol class='a'> | ||
<li><p> | <li><p> | ||
− | At the | + | At the [[PrF_UG_inst_instances_tab|Instances Tab]], |
− | |||
select the class and instance you want. | select the class and instance you want. | ||
− | The classes where this instance is direct will be shown in the Types Pane at the bottom of the Instance Browser. | + | The classes where this instance is direct |
+ | will be shown in the Types Pane at the bottom of the Instance Browser. | ||
</p> | </p> | ||
<li><p> | <li><p> | ||
Click the <b>Delete Class</b> | Click the <b>Delete Class</b> | ||
− | [[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]] | + | [[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]] button |
− | + | at the top of the Types Pane. | |
</p> | </p> | ||
</ol> | </ol> | ||
Line 90: | Line 85: | ||
To display forms one below another in a single window (the default), | To display forms one below another in a single window (the default), | ||
make sure this option is deselected. | make sure this option is deselected. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_configure_multi-type_instances.png|instances_configure_multi-type_instances]]</div> | ||
<li><p> | <li><p> | ||
If the current instance is multi-type, | If the current instance is multi-type, | ||
you may need to click on another instance and then back on this instance to see the change. | you may need to click on another instance and then back on this instance to see the change. | ||
− | |||
− | |||
</p> | </p> | ||
+ | <div>[[Image:PrF_UG_inst_multi_types_tabbed.png|instances_multi_types_tabbed]]</div> | ||
</ol> | </ol> | ||
</div> | </div> |
Revision as of 15:47, October 15, 2008
Working with Instance Types
The Types Pane, in the Instance Browser, allows you to add and remove types for an instance; that is, the classes for which the selected instance is a direct instance. Assigning multiple types to an instance allows you to build an instance which combines field characteristics from two or more classes.
Adding a Type
To add a class type to an instance:
At the Instances Tab, select the class and instance you want. The classes where this instance is direct will be shown in the Types Pane, at the bottom of the Instance Browser.
In the Select Classes dialog box, select the additional class(es) where this instance will be a direct instance and click OK.
The class(es) are added to the direct superclasses of the instance. The Instance Editor will change to display multiple forms, one for each class type. Any shared fields will contain identical values. Editing a field value in one form edits the same field in all the forms where it appears.
Deleting a Type
For a multi-type instance, you can delete types. To do this:
At the Instances Tab, select the class and instance you want. The classes where this instance is direct will be shown in the Types Pane at the bottom of the Instance Browser.
Configuring the Instance Editor
You can choose how to display multi-type instances in the Instance Editor. Forms can be displayed one below the other on a single screen, or they can be displayed in a tabbed format. To configure the display for multi-type instances:
Select Project | Configure from the menu.
To display forms in separate tabs, make sure that Use Tabbed Forms for Multi-type Instances is selected. To display forms one below another in a single window (the default), make sure this option is deselected.
If the current instance is multi-type, you may need to click on another instance and then back on this instance to see the change.