Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Change Multiple Attributes Visibility
Topic Summary:
Created On: 5-Mar-2007 08:51
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 5-Mar-2007 08:51
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

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
Report this to a Moderator Report this to a Moderator
 6-Mar-2007 13:59
User is offline View Users Profile Print this message


Ian Turner

Posts: 25
Joined: 3-Feb-2006

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
Report this to a Moderator Report this to a Moderator
 7-Mar-2007 10:15
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

Ian

Thanks for that. I tried it and it worked perfectly.

Paul
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.