Difference between revisions of "PrF UG classes template slot buttons"
(Automated import of articles) |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== The Template Slot Buttons == | == The Template Slot Buttons == | ||
− | {{PrF_UG_TOC_classes}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude> |
The Template Slot buttons, | The Template Slot buttons, | ||
− | located at the top right of the | + | located at the top right |
− | [[PrF_UG_classes_template_slot_pane|Template Slots pane]], | + | of the [[PrF_UG_classes_template_slot_pane|Template Slots pane]], |
− | allow you to view/edit, | + | allow you to view/edit, override, create, remove overrides, add, |
− | override, | ||
− | create, | ||
− | remove overrides, | ||
− | add, | ||
or remove a slot for the current class. | or remove a slot for the current class. | ||
− | You can also access these commands by right-clicking on the slot and selecting an action from the | + | You can also access these commands by right-clicking on the slot |
+ | and selecting an action from the | ||
[[PrF_UG_classes_template_slot_pane#The_Template_Slot_Menu|Template Slot menu]]. | [[PrF_UG_classes_template_slot_pane#The_Template_Slot_Menu|Template Slot menu]]. | ||
− | <div>[[Image:PrF_UG_classes_template_slots_menu_context.png| | + | <div>[[Image:PrF_UG_classes_template_slots_menu_context.png|frame|none| |
+ | Template Slots menu, "View Top-Level Slot" selected]]</div> | ||
− | <b>Note:</b> You can also view and create slots directly from the | + | <b>Note:</b> |
− | [[PrF_UG_slots_slots_tab|Slots | + | You can also view and create slots directly |
− | as well as | + | from the [[PrF_UG_slots_slots_tab|Slots tab]], |
− | [[PrF_UG_slots_deleting_a_slot|deleting]] | + | as well as [[PrF_UG_slots_deleting_a_slot|deleting]] |
a slot from the project. | a slot from the project. | ||
− | See the | + | See the [[PrF_UG_slots_slot_buttons|Slot buttons]] |
− | [[PrF_UG_slots_slot_buttons|Slot | ||
for more information. | for more information. | ||
The buttons have the following actions: | The buttons have the following actions: | ||
+ | <div class='b'> | ||
{| summary="template slot buttons" | {| summary="template slot buttons" | ||
| width="50" | | | width="50" | | ||
[[Image:PrF_UG_slots_slot.view_top_level.gif|slots_slot.view_top_level]] | [[Image:PrF_UG_slots_slot.view_top_level.gif|slots_slot.view_top_level]] | ||
| | | | ||
− | <b>View Top-Level Slot:</b> Opens the top-level | + | <b>View Top-Level Slot:</b> |
− | [[PrF_UG_slots_slot_editor|Slot Editor]] | + | Opens the top-level [[PrF_UG_slots_slot_editor|Slot Editor]] |
for the highlighted slot. | for the highlighted slot. | ||
If you make any changes to the slot at the top level, | If you make any changes to the slot at the top level, | ||
they affect the slot everywhere it appears, | they affect the slot everywhere it appears, | ||
− | including the | + | including the [[PrF_UG_slots_slots_tab|Slots tab]] |
− | [[PrF_UG_slots_slots_tab|Slots | ||
and all classes where the slot is attached. | and all classes where the slot is attached. | ||
− | See | + | See [[PrF_UG_slots_editing_a_slot|Viewing a Slot]]. |
− | [[PrF_UG_slots_editing_a_slot|Viewing a Slot]]. | ||
|- | |- | ||
| | | | ||
Line 53: | Line 49: | ||
<ul class='a'> | <ul class='a'> | ||
<li><p> | <li><p> | ||
− | Overrides only affect the properties of the slot for the selected class and its subclasses. | + | Overrides only affect the properties of the slot |
+ | for the selected class and its subclasses. | ||
</p> | </p> | ||
<li><p> | <li><p> | ||
− | The slot remains unchanged at the | + | The slot remains unchanged |
− | + | at the [[PrF_UG_slots_slots_tab|Slots tab]], | |
− | as well as any other classes where appears.A slot that has been overridden has an override | + | as well as any other classes where appears. |
− | [[Image:PrF_UG_slots_slot.overridden.gif|slots_slot.overridden]] | + | A slot that has been overridden has an override icon |
− | + | ([[Image:PrF_UG_slots_slot.overridden.gif|slots_slot.overridden]]) | |
+ | in the left column. | ||
There are limits on the overrides that you can make to an inherited slot. | There are limits on the overrides that you can make to an inherited slot. | ||
− | See | + | See [[PrF_UG_slots_editing_a_slot|Viewing a Slot]] |
− | |||
for more information. | for more information. | ||
</p> | </p> | ||
Line 75: | Line 72: | ||
[[PrF_UG_slots_create_slot|Creates]] | [[PrF_UG_slots_create_slot|Creates]] | ||
a new slot for the current class. | a new slot for the current class. | ||
− | <b>Note:</b> If the <b>Create Slot</b> | + | |
− | + | <b>Note:</b> | |
− | button is disabled, | + | If the <b>Create Slot</b> |
+ | ([[Image:PrF_UG_slots_slot.create.gif|slots_slot.create]]) button is disabled, | ||
the selected class cannot be edited; | the selected class cannot be edited; | ||
− | this is the case if it is a system class or is | + | this is the case if it is a system class |
− | [[PrF_UG_projects_including_a_project|included]] | + | or is [[PrF_UG_projects_including_a_project|included]] |
from another project. | from another project. | ||
|- | |- | ||
Line 87: | Line 85: | ||
| | | | ||
<b>Remove Slot Overrides:</b> | <b>Remove Slot Overrides:</b> | ||
− | [[PrF_UG_slots_remove_slot_overrides|Removes]] | + | [[PrF_UG_slots_remove_slot_overrides|Removes]] any slot overrides. |
− | any slot overrides. | ||
|- | |- | ||
| | | | ||
Line 103: | Line 100: | ||
[[PrF_UG_slots_removing_a_slot|Removes]] | [[PrF_UG_slots_removing_a_slot|Removes]] | ||
the highlighted slot from the current class. | the highlighted slot from the current class. | ||
− | The slot remains in the project and can be viewed in the | + | The slot remains in the project and can be viewed |
− | [[PrF_UG_slots_slot_browser|Slot Browser]]. | + | in the [[PrF_UG_slots_slot_browser|Slot Browser]]. |
− | To | + | To [[PrF_UG_slots_deleting_a_slot|delete]] |
− | [[PrF_UG_slots_deleting_a_slot|delete]] | ||
a slot completely from the project, | a slot completely from the project, | ||
use the Delete Slot | use the Delete Slot | ||
− | + | ([[Image:PrF_UG_slots_slot.delete.gif|slots_slot.delete]]) | |
[[PrF_UG_slots_slot_buttons|button]] | [[PrF_UG_slots_slot_buttons|button]] | ||
− | at the | + | at the [[PrF_UG_slots_slots_tab|Slots tab]]. |
− | [[PrF_UG_slots_slots_tab|Slots | + | |
− | <b>Note:</b> If the <b>Remove Slot</b> | + | <b>Note:</b> |
− | [[Image:PrF_UG_slots_slot.remove.gif|slots_slot.remove]] | + | If the <b>Remove Slot</b> |
− | button is disabled, | + | ([[Image:PrF_UG_slots_slot.remove.gif|slots_slot.remove]]) button is disabled, |
the selected slot cannot be removed from this class. | the selected slot cannot be removed from this class. | ||
− | For example, | + | For example, slots that are inherited from a superclass class cannot be removed. |
− | slots that are inherited from a superclass class cannot be removed. | ||
|} | |} | ||
+ | </div> | ||
− | </div> | + | |
+ | <noinclude></div></noinclude> |
Latest revision as of 16:39, November 13, 2008
The Template Slot Buttons
The Template Slot buttons, located at the top right of the Template Slots pane, allow you to view/edit, override, create, remove overrides, add, or remove a slot for the current class. You can also access these commands by right-clicking on the slot and selecting an action from the Template Slot menu.
Note: You can also view and create slots directly from the Slots tab, as well as deleting a slot from the project. See the Slot buttons for more information.
The buttons have the following actions:
View Top-Level Slot: Opens the top-level Slot Editor for the highlighted slot. If you make any changes to the slot at the top level, they affect the slot everywhere it appears, including the Slots tab and all classes where the slot is attached. See Viewing a Slot. | |
View Slot Overrides: Opens the class-level Slot Editor for the highlighted slot. Overrides to the slot at the class level have the following properties:
| |
Create Slot: Creates a new slot for the current class. Note: If the Create Slot () button is disabled, the selected class cannot be edited; this is the case if it is a system class or is included from another project. | |
Remove Slot Overrides: Removes any slot overrides. | |
Add Slot: Adds a pre-existing slot to the current class. | |
Remove Slot: Removes the highlighted slot from the current class. The slot remains in the project and can be viewed in the Slot Browser. To delete a slot completely from the project, use the Delete Slot () button at the Slots tab. Note: If the Remove Slot () button is disabled, the selected slot cannot be removed from this class. For example, slots that are inherited from a superclass class cannot be removed. |