05-11-2006 2:23 PM
Hi all,
Is it possible to make a class read only??
The requirement is that we have created a class with a
method. The method has an Include file.The user must be able to modify the Include file but he should not be able to modify the class.That is we want to make the class alone read-only.
How can dis be achieved??
Pls help.
Thanks in advance.
Hema
05-11-2006 2:27 PM
HI Hema,
I think you can do that only at method level.
Double click on the method.
In the editor, Goto->Method Definition.
IN the attributes secvtion you can set the editor lock.
Regards,
Ravi
05-11-2006 2:28 PM
Hema,
I am not sure if you are talking at a INCLUDE program level or a class level.
1. If at a class level, if you don't want anyone to inherit this class, mark this class as final.
2. For the INCLUDE, if the user id has sufficient authorizations, there is nothing much we can do about it.
Regards,
Ravi
Note : Please mark the helpful answers