![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Change Multiple Attributes Visibility Topic Summary: Created On: 5-Mar-2007 08:51 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have a class in my model which has about 20 attributes. Currently I have them all set to private. I now want to change them to protected. Is it possible for me to do this without having to selct each individually?
Thanks in advance, Paul |
|
![]() |
|
![]() |
|
Hi Paul,
I don't think you can change them all at the same time within Rhapsody. Having had similar problems in the past, a quick (but dirty) way to do it is to edit the class file directly and change the "iPrivate" attribute property to "iProtected". BEWARE - this is very risky. Make sure you have a backup copy BEFORE you do this. Once edited, if all goes well, when you load you model, all the attributes should now be protected. Regards, Ian |
|
![]() |
|
![]() |
|
Ian
Thanks for that. I tried it and it worked perfectly. Paul |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Change Multiple Attributes Visibility
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.