Hello Sumesh,

One thing you can do is to use a script to add attributes to your classes. I
have written a sample script that I am attaching to this email. First open
the script in the script editor by selecting Tools | Open Script and open
the script file. You will need to modify the methods calling AddAttribute to
specify your attribute names, types, and initial value.  To use the script,
select your classes to which you want to add attributes in the class
diagram, then switch to the script editor, and press F5 or the Start button.


Please let me know if I can be of further assistance.

Cordially,
Oktay Amiry
Rose Technical Support
Rational Customer Service
Committed to Service Excellence
SCP Certified:  http://www.rational.com/support/scp.jsp
Rational Software
the Software Development company
http://www.rational.com/support/technotes/rose.jsp


> -----Original Message-----
> From: Sundareswaran, Sumesh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 7:30 AM
> To: [EMAIL PROTECTED]
> Subject: (ROSE) Common attributes
> 
> 
> 
> Hi,
> 
> I have four common attributes in every class. Instead of 
> creating them every time I create a class, is there an easy 
> way I can create them once and plug them into every class I 
> create thereafter.
> 
> Appreciate all the help and advise...
> 
> Thanks,
> ***************************************
> Sumesh Sundareswaran
> KPMG Consulting - Atlanta,GA
> Off : 404-352-6519
> Cell : 678-524-3022
> ***************************************
> 
> **************************************************************
> **********
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *    To: [EMAIL PROTECTED]
> *    Subject: <BLANK>
> *    Body: unsubscribe rose_forum
> **************************************************************
> ***********
> 

Attachment: AddAttribute.ebs
Description: Binary data

Reply via email to