Difference between revisions of "PrF UG classes create class"
From Protege Wiki
Line 11: | Line 11: | ||
highlight the class that you want to be the <b>superclass</b> of the new class. | highlight the class that you want to be the <b>superclass</b> of the new class. | ||
</p> | </p> | ||
− | <div>[[Image:PrF_UG_classes_create_class_select_super.png| | + | <div>[[Image:PrF_UG_classes_create_class_select_super.png|frame|none| |
+ | highlighting a class]]</div> | ||
<li><p> | <li><p> | ||
Line 21: | Line 22: | ||
and select <b>Create Class</b> from the class menu. | and select <b>Create Class</b> from the class menu. | ||
</p> | </p> | ||
− | <div>[[Image:PrF_UG_classes_class_menu.png| | + | <div>[[Image:PrF_UG_classes_class_menu.png|frame|none| |
+ | selecting Create Class]]</div> | ||
<li><p> | <li><p> | ||
Line 28: | Line 30: | ||
such as <b>newspaper_Class_1</b>. | such as <b>newspaper_Class_1</b>. | ||
</p> | </p> | ||
− | <div>[[Image:PrF_UG_classes_create_class_new.png| | + | <div>[[Image:PrF_UG_classes_create_class_new.png|frame|none| |
+ | addition of newspaper_Class_1 class]]</div> | ||
<li><p> | <li><p> | ||
Line 37: | Line 40: | ||
</ol> | </ol> | ||
− | <div>[[Image:PrF_UG_classes_class_editor.png| | + | <div>[[Image:PrF_UG_classes_class_editor.png|frame|none| |
+ | Class Editor]]</div> | ||
</div> | </div> |
Revision as of 10:55, October 20, 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.