Difference between revisions of "PrF UG classes template slot buttons"
Line 57: | Line 57: | ||
as well as any other classes where appears. | as well as any other classes where appears. | ||
A slot that has been overridden has an override icon | A slot that has been overridden has an override icon | ||
− | [[Image:PrF_UG_slots_slot.overridden.gif|slots_slot.overridden]] | + | ([[Image:PrF_UG_slots_slot.overridden.gif|slots_slot.overridden]]) |
in the left column. | 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. | ||
Line 74: | Line 74: | ||
<b>Note:</b> | <b>Note:</b> | ||
If the <b>Create Slot</b> | If the <b>Create Slot</b> | ||
− | [[Image:PrF_UG_slots_slot.create.gif|slots_slot.create]] button is disabled, | + | ([[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 | this is the case if it is a system class | ||
Line 104: | Line 104: | ||
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]] | + | ([[Image:PrF_UG_slots_slot.delete.gif|slots_slot.delete]]) |
[[PrF_UG_slots_slot_buttons|button]] | [[PrF_UG_slots_slot_buttons|button]] | ||
at the [[PrF_UG_slots_slots_tab|Slots Tab]]. | at the [[PrF_UG_slots_slots_tab|Slots Tab]]. | ||
Line 110: | Line 110: | ||
<b>Note:</b> | <b>Note:</b> | ||
If the <b>Remove Slot</b> | If the <b>Remove Slot</b> | ||
− | [[Image:PrF_UG_slots_slot.remove.gif|slots_slot.remove]] 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, slots that are inherited from a superclass class cannot be removed. | For example, slots that are inherited from a superclass class cannot be removed. |
Revision as of 12:16, October 20, 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. |