Difference between revisions of "PrF UG classes hide class"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
Line 5: Line 5:
  
 
You can <i>hide</i> a class,
 
You can <i>hide</i> a class,
using the
+
using the [[PrF_UG_classes_class_menu|Class Menu]].
[[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.
You can use this,
+
You can use this, for example,
for example,
 
 
if you want to restrict the user's view to a part of your knowledge base,
 
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.
 
but want to retain the structure of the larger project.
 
All subclasses of a hidden class are also hidden.
 
All subclasses of a hidden class are also hidden.
The Hide Class menu selection is a toggle that lets you do the following two things:
 
  
<ul class='a'>
+
You can choose whether or not hidden classes are displayed in the Class Browser
  <li><p>
+
by choosing <b>Project | Configure</b>,
    [[#Hiding_a_Class|hide a class]]
 
    </p>
 
 
 
  <li><p>
 
    [[#Making_a_Hidden_Class_Visible|make a hidden class visible]]
 
    </p>
 
</ul>
 
 
 
You can choose whether or not hidden classes are displayed in the Class Browser by choosing <b>Project | Configure</b>,
 
 
going to the <b>Options</b> tab,
 
going to the <b>Options</b> tab,
 
and toggling the <b>Display Hidden Classes</b> option.
 
and toggling the <b>Display Hidden Classes</b> option.
See
+
See [[PrF_UG_projects_configure_project|Configuring a Project]]
[[PrF_UG_projects_configure_project|Configuring a Project]]
 
 
for more information.
 
for more information.
  

Revision as of 14:18, October 14, 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.

    classes_class_hide_menu

  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 class visible and click the left mouse button. classes_class_hidden_visibleNote: If your class has a superclass which is hidden, it will still not display.

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