Hi Vipul,
I did exactely all you have done,
but my RationalRose doesn't crash !
I'm using Rose Enterprice 2000e, and I'm waiting to get the 2001 suit.
Max.
Vipul Taneja <[EMAIL PROTECTED]> on 02/24/2001 12:01:21 AM
Office:
To: "'Aker, Eric'" <[EMAIL PROTECTED]>, Massimiliano
Pellizzaro/IT/MCS/PwC@EMEA-IT
cc: [EMAIL PROTECTED]
Subject: RE: (ROSE) Adding Activity Stereotype
Hey Guys,
I found something very frustrating here.
I was able to add a new stereotype for the activity and I even assigned it a
"fancy" icon :). I tested it by opening a new mdl file, making two-three
such activities, changed the stereotype display to
"None","Label","Decoration","Icon" all went pretty well.
BUT when I open my existing project model and change the Activity Diagram
Prpoerties to Format->StereotypeDisplay->Icon, Rational Rose crashes -
"Access Voilation". Though it works for "Decoration" and "Label".
Any idea?
- Vipul
-----Original Message-----
From: Aker, Eric [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 7:14 PM
To: '[EMAIL PROTECTED]';
[EMAIL PROTECTED]; Aker, Eric
Cc: [EMAIL PROTECTED]
Subject: RE: (ROSE) Adding Activity Stereotype
Hi Max:
You are a bit harsh on Rose. Your description is very good about the UML and
how
it should be implemented. Rose does allow for stereotyping of both States
and
Activities. The format to use for the icons is wmf or emf. Rational uses
Corel Draw
to make the icons but I use the lower cost Paint Shop Pro from JASC. I have
had
no problems making wmf files, I even demo Rose by taking a photograph and
convering
it from jpg to wmf and using that as an icon. I just tested it on both state
and activity and it works fine. One small point is that activities are
called
Activitystate in the DefaultStereotype.ini file.
For more info go to online help and search for stereotype file
Eric
--------------------------------- sample ------------------
I made a new icon for my new activity and added following
in defaultstereotypes.ini
Activitystate:DatabaseActivity
[Activitystate:DatabaseActivity]
Item=Activitystate
Stereotype=DatabaseActivity
Metafile=&\stereotypes\normal\DatabaseActivity.wmf
SmallPaletteImages=&\stereotypes\small\DatabaseActivity_s.bmp
SmallPaletteIndex=1
MediumPaletteImages=&\stereotypes\medium\DatabaseActivity_m.bmp
MediumPaletteIndex=1
ListImages=&\stereotypes\list\DatabaseActivity_l.bmp
ListIndex=1
ToolTip=Creates a Database Activity\nDatabase Activity
================================================
Hello there....
In the UML standard there are three ways you can stereotype an "object"
(class,
package, association,...), as all of you I'm sure already knows.
1) Use guillemets such as <<machine>>
2) Use a small icon inside as existing UML object
3) Use only the icon
An Actor in a good example for this. It is a "class" stereotype and it is
shown
in Rose as the option 3) I've
listed. But if you change the Stereotype display property you can display it
as
1) and 2).
Now, in Rose it is ALWAYS possible to stereotype any kind of object as 1),
so
you can stereotype the Activity as well.
When you try to stereotype objects as 2) and 3), you need to build an Image
as a
vector image, store it in a file, and then configure the proper *.ini rose
file
(i.e. defualtStereotype.ini).
The problem is that you cannot stereotype everything in this way, an
ACTIVITY
and a STATE
are example of UML object that can be stereotype only as option 1) and not
as
option 2) and 3).
I wish it would be possible....
Max.
************************************************************************
* 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
*
*************************************************************************
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.
************************************************************************
* 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
*
*************************************************************************