Pascal,
The "//" is the C++ & Java symbol for line comments. Typically these are
used in Rose
in the context of an analysis-type class, and usually take the form of a
"place-holder" for something.
By prefacing a method or attrib name with the comment symbol, makes it
easier when you do code-generation from the model. You can still keep the
method or attrib in the class, however it is just commented out, again, it
is there as a reminder or placeholder for something. You can either delete
it all-together or make it live.
There are a lot of things you can do with scripts in rose. All the way from
creating classes, to adding/changing/deleting methods, associations, params
to methods, attribs, and manipulating the documentation block assigned with
each. Go check out http://www.rationalrose.com/ This is an "unofficial"
web-site, that does have a lot of scripts that handle a variety of
things.... Am pretty sure you can find something to pattern after. From
what you are describing, you'll want to place your "analysis" (or early
version) classes in a certain package. (Manipulating classes within a
package is much easier to handle with script, than manipulating classes that
just appear on a certain diagram with a script). It is also easier (for me)
to manipulate classes on a Class Diagram (Static View), than on a Collab/Seq
Diagram (Dynamic View). I would suggest the package level to start out
with for you...
Eric
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Pascal Lamothe
Sent: Thursday, May 10, 2001 2:09 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) Q's about sequence and collaboration diagrams
Hello, I have 2 questions :
1st :
Did you know in sequence diagram sequence samples from Rational, each
operation
and class naming starts with "// " ?
2nd:
When I make a sequence diagram all naming stay in the diagram. After when
I'm
sure that diagram I create the real class and operations. And my question
is,
did you know if a script or anything else exist to convert the sequence or
collaboration diagram in real class and operation naming with description
directly(in rose) ? I don't want to create directly the first time, because
I'm
not sure at the first time.
Pascal
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* 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
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************