Difference between revisions of "PrF UG classes hide class"

From Protege Wiki
Jump to: navigation, search
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 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>
 
           Make Hidden Class Visible selected]]</div>
 
     <p>
 
     <p>

Revision as of 01:59, October 23, 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.

    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.