Difference between revisions of "PrF UG classes create class"
From Protege Wiki
Line 41: | Line 41: | ||
<imagemap> | <imagemap> | ||
− | Image:PrF_UG_classes_class_editor.png|Class Editor | + | Image:PrF_UG_classes_class_editor.png|frame|none|Class Editor |
rect 462 61 685 170 [[PrF_UG_classes_class_editor#The_Class_Constraints_Pane |The Class Constraints Pane]] | rect 462 61 685 170 [[PrF_UG_classes_class_editor#The_Class_Constraints_Pane |The Class Constraints Pane]] | ||
rect 237 62 457 174 [[PrF_UG_classes_class_editor#The_Class_Documentation_Pane |The Class Documentation Pane]] | rect 237 62 457 174 [[PrF_UG_classes_class_editor#The_Class_Documentation_Pane |The Class Documentation Pane]] |
Revision as of 11:28, October 21, 2008
Creating a New Class
To create a new class:
In the Class Browser, highlight the class that you want to be the superclass of the new class.
Click the Create Class () button in the class buttons area at the right of the Class Browser. Alternatively, you can click the right mouse button and select Create Class from the class menu.
The new class will be added under the highlighted class. It will have a default name, such as newspaper_Class_1.
Use the Class Editor to name the class, choose its role, create constraints, and create and edit slots. See Editing a Class for more information.