Difference between revisions of "PrF UG classes hide class"
(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. | ||
− | |||
− | + | You can choose whether or not hidden classes are displayed in the Class Browser | |
− | + | by choosing <b>Project | Configure</b>, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | 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
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:
Select the class in the Class Browser.
Click the right mouse button to display the Class Menu.
Select Hide Class and click the left mouse button.
If hidden classes are visible in your project, you will see a gray icon (e.g., ), 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:
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.
Select the class you wish to make visible.
Click the right mouse button to display the Class Menu.
Select Make class visible and click the left mouse button. Note: If your class has a superclass which is hidden, it will still not display.
The gray icon will be removed from your class.