Difference between revisions of "PrF UG meta create subslot use meta"
Line 16: | Line 16: | ||
<ol class='a'> | <ol class='a'> | ||
<li><p> | <li><p> | ||
− | In the [[PrF_UG_slots_slots_tab|Slots | + | In the [[PrF_UG_slots_slots_tab|Slots tab]], |
find the slot that you want as the superslot of the new slot. | find the slot that you want as the superslot of the new slot. | ||
</p> | </p> | ||
− | <div>[[Image:PrF_UG_meta_slot_selected.png| | + | <div>[[Image:PrF_UG_meta_slot_selected.png|frame|none| |
− | + | Slots tab, "Sample Metaslot" selected]]</div> | |
<li><p> | <li><p> | ||
Click the right mouse button and select "<b>Create subslot using slot metaclass...</b>". | Click the right mouse button and select "<b>Create subslot using slot metaclass...</b>". | ||
</p> | </p> | ||
− | <div>[[Image:PrF_UG_meta_create_subclass_meta.png| | + | <div>[[Image:PrF_UG_meta_create_subclass_meta.png|frame|none| |
− | + | "Create subslot using ..." selected]]</div> | |
<li><p> | <li><p> | ||
A dialog box displays the slot metaclasses. | A dialog box displays the slot metaclasses. | ||
</p> | </p> | ||
− | <div>[[Image:PrF_UG_meta_slot_metaclass_dialog.png| | + | <div>[[Image:PrF_UG_meta_slot_metaclass_dialog.png|frame|none| |
− | + | Select Slot Metaclass dialog, "Sample Metaslot" selected]]</div> | |
<li><p> | <li><p> |
Revision as of 12:34, October 24, 2008
Creating a Subslot Using a Slot Metaclass
Once you have added one or more slot metaclasses to your project, you can select the slot metaclass you want to use to create a subslot. When you create a subslot using a non-standard slot metaclass, the slot is given the attributes specified by the selected slot metaclass.
If you create a top-level slot, you must first create the slot, and then change its slot metaclass.
To create a subslot using a non-standard slot metaclass:
In the Slots tab, find the slot that you want as the superslot of the new slot.
Click the right mouse button and select "Create subslot using slot metaclass...".
A dialog box displays the slot metaclasses.
Select the slot metaclass that you want and click OK. The new slot will be added under the highlighted slot. It will have the Slot Editor determined by the selected slot metaclass. The name of the slot metaclass you used is displayed at the top of the Slot Editor, immediately after the name of the slot. The Slot Editor may include additional widgets that are not part of :STANDARD-SLOT.
Use the Slot Editor to name the slot, choose its value type, and set its other properties.