• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to add stereo types in sequence diagrams for Rose

 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How is stereo types added in sequence diagrams in rational rose.
I want to add say <<SLSB>> or <<JSP>> on my objects in the sequence diagram.

Thanks
Dhiren
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think there's a way to do it. You add sterotypes to classes through its properties dialog box, or on the class diagram that you created it on. But, there's no way that I can see to display existing stereotypes on a sequence diagram, let alone add stereotypes to them.

For one thing, sequence diagrams are interactions between objects -- while stereotypes are a property of classes. So, you can assume that an object of a certain class having a stereotype is already descriptive enough. My 2 cents there.
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not all objects defined in sequence are pre defined in the class diagram.My class diagram is domain level only.
In sequence diagram I cover J2EE level implementations too .
So how do I define sterotypes...
I tried in Rose ..In the text area where the object name is I added << SLSB>> . It works but the stereo types crosses over the name. My experinece to anyone. Dont try this method becuase u cant delete the stereotype name and it looks very ugly .If u click on the text to delete the stereotype it is not visible . So if u saved the design then u need to delete the object and create it all over again as well as the interactions for them..

Having said that any one knows a cleaner way to add stereo types ?.. Will notes help here ..

Thanks
Dhiren
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic