Difference between revisions of "PrF UG classes create class"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Creating a New Class ==
 
== Creating a New Class ==
  
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude>
  
 
To create a new class:
 
To create a new class:
Line 8: Line 8:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     In the
+
     In the [[PrF_UG_classes_class_browser|Class Browser]],
    [[PrF_UG_classes_class_browser|Class Browser]],
 
 
     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|classes_create_class_select_super]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_classes_create_class_select_super.png|frame|none|
 +
          Class Browser, "Author" class highlighted]]</div>
  
 
   <li><p>
 
   <li><p>
 
     Click the <b>Create Class</b>
 
     Click the <b>Create Class</b>
     [[Image:PrF_UG_classes_class.create.gif|classes_class.create]]
+
     ([[Image:PrF_UG_classes_class.create.gif|classes_class.create]]) button
     button in the
+
     in the [[PrF_UG_classes_class_buttons|class buttons]] area
    [[PrF_UG_classes_class_buttons|class buttons]]
+
     at the right of the Class Browser.
     area at the right of the Class Browser.
+
     Alternatively, you can click the right mouse button
     Alternatively,
+
    and select <b>Create Class</b> from the class menu.
    you can click the right mouse button and select <b>Create Class</b> from the class menu.
 
   
 
    </p><p> <div>[[Image:PrF_UG_classes_class_menu.png|classes_class_menu]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_classes_class_menu.png|frame|none|
 +
          Class menu, "Create Class" selected]]</div>
  
 
   <li><p>
 
   <li><p>
Line 31: Line 29:
 
     It will have a default name,
 
     It will have a default name,
 
     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|classes_create_class_new]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_classes_create_class_new.png|frame|none|
 +
          addition of newspaper_Class_1 class]]</div>
  
 
   <li><p>
 
   <li><p>
     Use the
+
     Use the [[PrF_UG_classes_class_editor|Class Editor]]
    [[PrF_UG_classes_class_editor|Class Editor]]
+
     to name the class, choose its role, create constraints, and create and edit slots.
     to name the class,
+
     See [[PrF_UG_classes_editing_a_class|Editing a Class]] for more information.
    choose its role,
 
    create constraints,
 
    and create and edit slots.
 
     See
 
    [[PrF_UG_classes_editing_a_class|Editing a Class]]
 
    for more information.
 
 
     </p>
 
     </p>
 
</ol>
 
</ol>
  
<div>[[Image:PrF_UG_classes_class_editor.png|classes_class_editor]]</div>
+
<imagemap>
 +
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 237  62 457 174 [[PrF_UG_classes_class_editor#The_Class_Documentation_Pane |The Class Documentation pane]]
 +
rect  3  59 234 115 [[PrF_UG_classes_class_editor#The_Class_Name_Field        |The Class Name field]]
 +
rect 600  21 685  48 [[PrF_UG_classes_class_editor#Note_Icons                  |Note icons]]
 +
rect  5 120 233 172 [[PrF_UG_classes_class_editor#The_Class_Role_Menu          |The Class Role menu]]
 +
rect  6 179 691 488 [[PrF_UG_classes_class_editor#The_Template_Slots_Pane      |The Template Slots pane]]
 +
desc none
 +
</imagemap>
  
</div>
+
 
 +
<noinclude></div></noinclude>

Latest revision as of 17:29, November 13, 2008

Creating a New Class


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

To create a new class:

  1. In the Class Browser, highlight the class that you want to be the superclass of the new class.

    Class Browser, "Author" class highlighted
  2. Click the Create Class (classes_class.create) 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.

    Class menu, "Create Class" selected
  3. The new class will be added under the highlighted class. It will have a default name, such as newspaper_Class_1.

    addition of newspaper_Class_1 class
  4. 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.

The Class Constraints paneThe Class Documentation paneThe Class Name fieldNote iconsThe Class Role menuThe Template Slots pane
Class Editor