PrF UG classes template slot buttons

From Protege Wiki
Revision as of 16:26, October 26, 2008 by RichMorin (talk | contribs)

Jump to: navigation, search

The Template Slot Buttons


Protege-Frames User's Guide
Classes
Classes Tab
Class Browser
Class Buttons
Class Hierarchy Window
Class Icons
Class Menu
Class Search Bar
Superclasses Pane
Class Editor
Constraints
Template Slots Pane
Template Slot Buttons
References Window
Creating a New Class
Creating Multiple Subclasses
Deleting a Class
Displaying the Class Editor
Editing a Class
Editing Template Slots
Finding a Class
Hiding a Class
Replacing a Superclass
Adding a Superclass
Jumping to A Superclass
Removing a Superclass
Viewing Class Relations
Classes & Instances Tab
Viewing References
Glossary, Editing Help

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.

Error creating thumbnail: Unable to save thumbnail to destination
Template Slots menu, "View Top-Level Slot" selected

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:

Error creating thumbnail: Unable to save thumbnail to destination

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.

Error creating thumbnail: Unable to save thumbnail to destination

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:

  • Overrides only affect the properties of the slot for the selected class and its subclasses.

  • The slot remains unchanged at the Slots tab, as well as any other classes where appears. A slot that has been overridden has an override icon (

    Error creating thumbnail: Unable to save thumbnail to destination
    )
       in the left column.
       There are limits on the overrides that you can make to an inherited slot.
       See Viewing a Slot
       for more information.
    

Error creating thumbnail: Unable to save thumbnail to destination

Create Slot: Creates a new slot for the current class.

Note: If the Create Slot

(
Error creating thumbnail: Unable to save thumbnail to destination
) 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.

Error creating thumbnail: Unable to save thumbnail to destination

Remove Slot Overrides: Removes any slot overrides.

Error creating thumbnail: Unable to save thumbnail to destination

Add Slot: Adds a pre-existing slot to the current class.

Error creating thumbnail: Unable to save thumbnail to destination

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

(
Error creating thumbnail: Unable to save thumbnail to destination
)

button at the Slots tab.

Note: If the Remove Slot

(
Error creating thumbnail: Unable to save thumbnail to destination
) 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.