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
*
*************************************************************************