Hello all,

This is great news to know, but I have some questions.
How do I know which classes belong to which diagrams?
Let's say I have class A and class B.  Does it put class A
on diagram1 and class B on diagram2?  Does it put every
classes on every diagrams or put all classes in one diagram?
What if I have a diagram contains class A and class B, does
it knows to put class A and class B in that diagram?

Thanks,
Giai Ly

> -----Original Message-----
> From: Viswanathan, Annamalai [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 2:40 PM
> To:   '???'; [EMAIL PROTECTED]
> Subject:      RE: (ROSE) Is it possible auto-drawing any diagram in Rose?
> 
> 
> Hello Cerys,
> 
> You cannot auto-draw sequence diagrams from code but you can do this for
> class diagrams.  The way to do this is different depending on whether you
> are using an older version of Rose or a newer version (Rose 2001A or
> 2002).
> I have listed two solutions below.  You can use the one that applies to
> you:
> 
> /////
> For pre 2001A versions of Rose:
> 
> QUESTION:
> When I reverse engineer code into Rose I see the classes that were added
> to
> the model in the browser but not my diagrams.   How can I generate
> diagrams
> in my model containing the classes from my code?
> 
> ANSWER:
> 
> You can accomplish this by following the steps listed below:
> 
> 1. Shut down Rose
> 
> 2. Edit the rose.ini file
>     In Windows 95 The rose.ini file is in the directory in which Rose was
> installed. By default this is C:\Program Files\Rational\Rose.
> 
>   In Windows NT this file can be found in:
> C:\WINNT\Profiles\<<login name>>\Application Data\Rational\Rose\6.0
> 
>       OR 
> 
> you could just use the script listed below to determine the location
> of your rose.ini file:
> 
> '<<START SCRIPT>>
> Sub Main
> MsgBox RoseApp.GetRoseIniPath()
> End Sub
> '<<END SCRIPT>>
> 
> 3. In the rose.ini file look for and change
> AutoConstructMainDiagrams=No
> to
> AutoConstructMainDiagrams=Yes
> 
> 4. Restart Rose
> 
> Future reverse engineering sessions for all add-ins should result in
> diagrams getting automatically generated.
>   
> *   All top level packages and classes will appear in the Main diagram of
> the Logical View.
>    
> *   All packages will now contain a diagram called the 'Package Overview'
> diagram which will contain all of the classes that are owned by that
> package.     
> 
> *   If you double click on a package on a diagram the package's 'Package
> Overview' diagram will be opened for you.
> 
> ///// 
> 
> 
> /////
> For Rose 2001A or Rose 2002:
> 
> QUESTION:
> 
> I have Rose 2001A/2002, and I am trying to automatically generate diagrams
> while reverse engineering the code. Tech Note 13512 describes how I can do
> this by turning on the "AutoConstructMainDiagrams" option in the rose.ini
> file.   However, there is no rose.ini file in Rose 2001A/2002. How can I
> automatically generate diagrams while reverse engineering the code in Rose
> 2001A/2002?
> 
> ANSWER:
> 
> The settings, that used to be in the rose.ini file, are now located in the
> Windows registry in Rose 2001A/2002. 
> 
> TO ACTIVATE:
> Use the following steps to turn-on the "AutoConstructMainDiagrams" option
> in
> Rose 2001A/2002.
> 
> 1. Shut down Rose.
> 
> 2. Copy the lines listed below to the clipboard and paste them into a text
> editor such as Notepad:
> 
> 
> REGEDIT4
> [HKEY_CURRENT_USER\Software\Rational Software\rose\Rose]
> "AutoConstructMainDiagrams"="Yes"
> [HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rose\Rose]
> "AutoConstructMainDiagrams"="Yes"
> 
> 
> 3. Save this file as "set2yes.reg".     
> 
> 4.   Double-click on this file to add this information to the registry.
> 
> 5. Restart Rose.
> 
> Future reverse engineering sessions for all add-ins should result in
> diagrams getting automatically generated.
>   
> *   All top level packages and classes will appear in the Main diagram of
> the Logical View.   
> 
> *   All packages will now contain a diagram called the 'Package Overview'
> diagram which will contain all of the classes that are owned by that
> package.
>       
> *   If you double click on a package on a diagram the package's 'Package
> Overview' diagram will be opened for you.
> 
> *   Double click on any package icon to display the corresponding 'Package
> Overview' diagram.
> 
> TO DEACTIVATE:
> Use the following steps to turn-off the "AutoConstructMainDiagrams" option
> in Rose 2001A/2002.
> 
> 1. Shut down Rose.
> 
> 2. Copy the following lines to a text editor such as Notepad.
> 
> 
> REGEDIT4
> [HKEY_CURRENT_USER\Software\Rational Software\rose\Rose]
> "AutoConstructMainDiagrams"="No"
> [HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rose\Rose]
> "AutoConstructMainDiagrams"="No"
> 
> 
> 3. Save this file as "set2no.reg".       
> 
> 4.   Double-click on this file to add this information to the registry.
> 
> 5. Restart Rose.
> 
> 
> /////
> 
> Regards
> 
> Vishu
> 
> 
> **********
> 
> Annamalai "Vishu" Viswanathan  --  [EMAIL PROTECTED]
> Rose Technical Support Engineer
> 
> Rational Customer Service - Committed to Service Excellence
> SCP Certified:  http://www.rational.com/support/scp.jsp
> 
> Rational User Conference 2002.....Freedom to Create!
> Call for Papers Now Open at http://www.rational.com/ruc
> August 18-22, 2002
> Lake Buena Vista, Florida
> 
> **********
> 
> -----Original Message-----
> From: ??? [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 9:14 AM
> To: [EMAIL PROTECTED]
> Subject: (ROSE) Is it possible auto-drawing any diagram in Rose?
> 
> 
> Hi, :-)
> 
> Is it possible auto-drawing any diagram(sequence, class diagram etc.) from
> codes?
> Nowadays, I usually use Rational Rose for drawing model from
> codes(VC++)...
> So, I was wondering if there is any function or menus about auto-drawing
> diagrams from codes.
> Is it possible??
> 
> 
> Thanks in advance.
> 
> Regards,
>         Cerys
> ************************************************************************
> * 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
> *************************************************************************
> ************************************************************************
> * 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
> *************************************************************************
************************************************************************
* 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
*************************************************************************

Reply via email to