Difference between revisions of "PrF UG classes delete class"

From Protege Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Deleting a Class ==
 
== Deleting a Class ==
  
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude>
  
<b>Deleting a class deletes the class and all of its subclasses.</b> Once a class has been deleted,
+
<b>Deleting a class deletes the class and all of its subclasses.</b>
it cannot be recovered.
+
Once a class has been deleted, it cannot be recovered.
You may wish to
+
You may wish to [[PrF_UG_projects_archive_project|archive]]
[[PrF_UG_projects_archive_project|archive]]
 
 
your project before deleting.
 
your project before deleting.
  
Line 16: Line 15:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Highlight the class you want to delete in the
+
     Highlight the class you want to delete
    [[PrF_UG_classes_class_browser|Class Browser]].
+
    in the [[PrF_UG_classes_class_browser|Class Browser]].
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
 
     Click the <b>Delete Class</b>
 
     Click the <b>Delete Class</b>
     [[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]]
+
     ([[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]])
 
     [[PrF_UG_classes_class_buttons|button]]
 
     [[PrF_UG_classes_class_buttons|button]]
     <i>or</i> click the right mouse button and choose <b>Delete selected class</b> from the
+
     <i>or</i> click the right mouse button and choose <b>Delete selected class</b>
    [[PrF_UG_classes_class_menu|Class menu]].
+
    from the [[PrF_UG_classes_class_menu|Class menu]].
 
     </p>
 
     </p>
  
Line 41: Line 40:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Highlight one or more classes in the
+
     Highlight one or more classes
    [[PrF_UG_classes_class_browser|Class Browser]].
+
    in the [[PrF_UG_classes_class_browser|Class Browser]].
 
     To highlight multiple classes,
 
     To highlight multiple classes,
 
     hold down the <b>Ctrl</b> (<b>Cmd</b>) key while clicking each class.
 
     hold down the <b>Ctrl</b> (<b>Cmd</b>) key while clicking each class.
Line 52: Line 51:
 
   <li><p>
 
   <li><p>
 
     Click the <b>Delete Class</b>
 
     Click the <b>Delete Class</b>
     [[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]]
+
     ([[Image:PrF_UG_classes_class.delete.gif|classes_class.delete]])
 
     [[PrF_UG_classes_class_buttons|button]].
 
     [[PrF_UG_classes_class_buttons|button]].
 
     You cannot use the Class menu to delete multiple classes.
 
     You cannot use the Class menu to delete multiple classes.
Line 73: Line 72:
  
 
   <li><p>
 
   <li><p>
     classes
+
     classes [[PrF_UG_projects_including_a_project|included]]
    [[PrF_UG_projects_including_a_project|included]]
 
 
     from another project
 
     from another project
 
     </p>
 
     </p>
Line 80: Line 78:
  
  
</div>
+
<noinclude></div></noinclude>

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

Deleting a 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

Deleting a class deletes the class and all of its subclasses. Once a class has been deleted, it cannot be recovered. You may wish to archive your project before deleting.

Deleting a Single Class

To delete a class from the knowledge base:

  1. Highlight the class you want to delete in the Class Browser.

  2. Click the Delete Class (classes_class.delete) button or click the right mouse button and choose Delete selected class from the Class menu.

  3. You will be prompted for confirmation. Click OK. The selected class and any subclasses will be deleted.

Deleting Multiple Classes

To delete multiple classes:

  1. Highlight one or more classes in the Class Browser. To highlight multiple classes, hold down the Ctrl (Cmd) key while clicking each class. To highlight a range of classes, click the first class, then hold down the Shift key and click the last class in the range.

  2. Click the Delete Class (classes_class.delete) button. You cannot use the Class menu to delete multiple classes.

  3. You will be prompted for confirmation. Click OK.

Undeletable Classes

The following types of classes cannot be deleted:

  • system classes

  • classes included from another project