Difference between revisions of "PrF UG classes hide 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:
 
== 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
+
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.
  
Line 43: Line 30:
  
 
   <li><p>
 
   <li><p>
     Click the right mouse button to display the
+
     Click the right mouse button
    [[PrF_UG_classes_class_menu|Class Menu]].
+
    to display the [[PrF_UG_classes_class_menu|Class menu]].
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
 
     Select <b>Hide Class</b> and click the left mouse button.
 
     Select <b>Hide Class</b> and click the left mouse button.
   
 
    </p><p> <div>[[Image:PrF_UG_classes_class_hide_menu.png|classes_class_hide_menu]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_classes_class_hide_menu.png|frame|none|
 +
          Class menu, "Hide Class" selected]]</div>
  
 
   <li><p>
 
   <li><p>
 
     If hidden classes are visible in your project,
 
     If hidden classes are visible in your project,
     you will see a gray icon (e.g.,
+
     you will see a gray icon
    [[Image:PrF_UG_classes_hide_c1.gif|classes_hide_c1]]),
+
    (e.g., [[Image:PrF_UG_classes_hide_c1.gif|classes_hide_c1]]),
 
     indicating that the class is hidden.
 
     indicating that the class is hidden.
 
     If hidden classes are not visible in your project,
 
     If hidden classes are not visible in your project,
Line 71: Line 58:
 
     If you cannot see your class because hidden classes are not currently displayed,
 
     If you cannot see your class because hidden classes are not currently displayed,
 
     make hidden classes visible.
 
     make hidden classes visible.
     To do this,
+
     To do this, choose <b>Project | Configure</b>, select <b>Options</b>,
    choose <b>Project | Configure</b>,
 
    select <b>Options</b>,
 
 
     and make sure that <b>Display Hidden Classes</b> is selected.
 
     and make sure that <b>Display Hidden Classes</b> is selected.
 
     </p>
 
     </p>
Line 82: 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>
  
 
   <li><p>
 
   <li><p>
     Select <b>Make class visible</b> and click the left mouse button.
+
     Select <b>Make Hidden Class Visible</b> and click the left mouse button.
     [[Image:PrF_UG_classes_class_hidden_visible.png|classes_class_hidden_visible]]<b>Note:</b> If your class has a superclass which is hidden,
+
     </p>
 +
    <div>[[Image:PrF_UG_classes_class_hidden_visible.png|frame|none|
 +
          Class menu, "Make Hidden Class Visible" selected]]</div>
 +
    <p>
 +
    <b>Note:</b> If your class has a superclass which is hidden,
 
     it will still not display.
 
     it will still not display.
 
     </p>
 
     </p>
Line 97: Line 86:
  
  
</div>
+
<noinclude></div></noinclude>

Latest revision as of 17: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.