Difference between revisions of "PrF UG classes hide class"

From Protege Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Hiding a Class ==
 
== Hiding a Class ==
  
{{PrF_UG_TOC_classes}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_classes}}<div id='prf_ug'></noinclude>
  
 
You can <i>hide</i> a class,
 
You can <i>hide</i> a class,
using the [[PrF_UG_classes_class_menu|Class Menu]].
+
using the [[PrF_UG_classes_class_menu|Class menu]].
 
Hidden classes are still part of your project,
 
Hidden classes are still part of your project,
 
but are not visible.
 
but are not visible.
Line 31: Line 31:
 
   <li><p>
 
   <li><p>
 
     Click the right mouse button
 
     Click the right mouse button
     to display the [[PrF_UG_classes_class_menu|Class Menu]].
+
     to display the [[PrF_UG_classes_class_menu|Class menu]].
 
     </p>
 
     </p>
  
Line 38: Line 38:
 
     </p>
 
     </p>
 
     <div>[[Image:PrF_UG_classes_class_hide_menu.png|frame|none|
 
     <div>[[Image:PrF_UG_classes_class_hide_menu.png|frame|none|
           Hide Class selected]]</div>
+
           Class menu, "Hide Class" selected]]</div>
  
 
   <li><p>
 
   <li><p>
Line 67: Line 67:
  
 
   <li><p>
 
   <li><p>
     Click the right mouse button to display the Class Menu.
+
     Click the right mouse button to display the Class menu.
 
     </p>
 
     </p>
  
Line 73: Line 73:
 
     Select <b>Make Hidden Class Visible</b> and click the left mouse button.
 
     Select <b>Make Hidden Class Visible</b> and click the left mouse button.
 
     </p>
 
     </p>
     <div>[[Image:PrF_UG_classes_class_hidden_visible.png|frame|none
+
     <div>[[Image:PrF_UG_classes_class_hidden_visible.png|frame|none|
           Make Hidden Class Visible selected]]</div>
+
           Class menu, "Make Hidden Class Visible" selected]]</div>
 
     <p>
 
     <p>
 
     <b>Note:</b> If your class has a superclass which is hidden,
 
     <b>Note:</b> If your class has a superclass which is hidden,
Line 86: Line 86:
  
  
</div>
+
<noinclude></div></noinclude>

Latest revision as of 16:32, November 13, 2008

Hiding 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

You can hide a class, using the Class menu. Hidden classes are still part of your project, but are not visible. You can use this, for example, if you want to restrict the user's view to a part of your knowledge base, but want to retain the structure of the larger project. All subclasses of a hidden class are also hidden.

You can choose whether or not hidden classes are displayed in the Class Browser by choosing Project | Configure, going to the Options tab, and toggling the Display Hidden Classes option. See Configuring a Project for more information.

Hiding a Class

To hide a class:

  1. Select the class in the Class Browser.

  2. Click the right mouse button to display the Class menu.

  3. Select Hide Class and click the left mouse button.

    Class menu, "Hide Class" selected
  4. If hidden classes are visible in your project, you will see a gray icon (e.g., classes_hide_c1), indicating that the class is hidden. If hidden classes are not visible in your project, you will no longer see the class or any of its subclasses.

Making a Hidden Class Visible

To make a hidden class visible:

  1. If you cannot see your class because hidden classes are not currently displayed, make hidden classes visible. To do this, choose Project | Configure, select Options, and make sure that Display Hidden Classes is selected.

  2. Select the class you wish to make visible.

  3. Click the right mouse button to display the Class menu.

  4. Select Make Hidden Class Visible and click the left mouse button.

    Class menu, "Make Hidden Class Visible" selected

    Note: If your class has a superclass which is hidden, it will still not display.

  5. The gray icon will be removed from your class.