-
To lock the class:
-
In the Package Browser, right-click the class and select
Lock Class Edition....
-
In the Lock Class dialog box, in the Reason to
lock box, enter the reason for locking the class. In this scenario, enter
Stable.
- Click OK.
The class is locked. The locking is indicated by a yellow hanglock on that class in the
Package Browser. You cannot edit a class that is locked, you must unlock it first. Note:
There may be other reasons for locking:- The class is encrypted or included in a checksum. This is indicated by a gray hanglock
. - The model has not been checked out in the database. This is indicated by a no-way sign
.
-
To unlock the class that is locked by the Lock Class Edition...
command, in the Package Browser, right-click the class and select
Unlock Class Edition.
The class is unlocked and can be edited.
|