PrF UG classes class menu

From Protege Wiki
Revision as of 10:39, October 20, 2008 by RichMorin (talk | contribs)

Jump to: navigation, search

The Class Menu


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

Whenever you have a class selected, you can access the cascading class menu by clicking the right mouse button. This menu allows you to perform a number of class-related tasks.

To access the class menu:

  1. Select a class in the Class Browser.

  2. Click the right mouse button. The cascading class menu is displayed.

    cascading class menu
  3. Make your selection and click the left mouse button.

The class menu allows you to perform the following tasks. Not all tasks are available at all times; tasks that cannot be performed are grayed out.

  • Create Class (classes_class.create): Creates a class that is subordinate to the highlighted class. This operation is identical to clicking the Create Class classes_class.create button.

  • classes_advanced.small   Create Subclass using Metaclass...: If you have added metaclasses to your project, this allows you to create a new class, subordinate to the highlighted class, using a metaclass as a template. See Creating a Class Using a Metaclass for more information.

  • classes_class.delete Delete selected class: Deletes the highlighted class and all of its subclasses, removing it from the current project. This operation is identical to the Delete Class classes_class.delete button.

  • classes_advanced.small   Change metaclass: Changes the metaclass of the highlighted class. See Changing the Metaclass of a Class for more information.

  • classes_advanced.small   Change metaclass of subclasses: Changes the metaclass of all subordinate classes to the metaclass of the highlighted class.

  • Hide class: Makes the highlighted class hidden. If the class is already hidden, the selection is Make class visible.

  • classes_advanced.small   Set as Default Metaclass: Makes the selected metaclass the default; that is, new classes will automatically be created using this as a template.

  • classes_advanced.small   Set as Default Slot Metaclass: Makes the selected metaclass the default slot metaclass; that is, new slots will be created using this as a template.

  • Expand: Shows all classes that are subordinate to the highlighted class. This is a multi-level display operation that is more extensive than clicking the all_hierarchy.collapsed icon, which only shows the next level of direct subclasses.

  • Collapse: Hides all classes that are subordinate to the highlighted class.

classes_advanced.small   Metaclasses are an advanced feature; you should have a good understanding of Protege-Frames before you use metaclasses.