Eric,

The SetStereotypeDisplayMode.ebs script does contain calls to methods in the Rose 
Extensibility
Interface (REI) that were not present in Rose 98 but were added on in later versions 
of Rose.
This script does run on Rose 2001.  You can give it a try after you have upgraded.

Regards

Vishu

"Eric D. Tarkington" wrote:

> Mr. Viswanathan,
>
> I downloaded your SetStereotypeDisplayMode.ebs, but it halts with "Error
> 54 in line 29: StereotypeDisplay is not an assignable property of the
> object".
>
> Perhaps Rose98 isn't ready for this.
>
> Thanks, and I'll try again when Rose 2001 finally arrives at the school.
>
> -Eric (the non-Acker) Tarkington
>
> Annamalai Viswanathan wrote:
> >
> > Hi Hong,
> >
> > The object on a sequence diagram takes on the stereotype of the class that it is 
>mapped to,
> > i.e. you do not specify the stereotype for the individual object..but rather you 
>simply map
> > it to a class whose stereotype you want it to assume.  I have attached a script to 
>this
> > e-mail that automates the process of setting the stereotype display mode (for 
>interaction
> > and/or class diagrams).
> >
> > Regards
> >
> > Vishu
> >
> > "Zhuang, Hong" wrote:
> >
> > > I am using Rose 2000e, but I am not able to put a stereotype to an object in
> > > a sequence diagram because the stereotype list is not shown in the object
> > > specification panel. Has anyone tried?
> > >
> > > Thanks
> > >
> > > Hong
> > > > -----Original Message-----
> > > > From: Aker, Eric [SMTP:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, April 10, 2001 1:25 PM
> > > > To:   'Eric D. Tarkington'; ROSE_FORUM
> > > > Subject:      RE: (ROSE) <<stereotype>> in Sequence Diagrams?
> > > >
> > > >
> > > > The default is to have object use the same stereotype as the class.
> > > > (anything else would be strange, the constrains on a class are meant
> > > > for the instance of that class)
> > > >
> > > > In addition, objects can be further stereotyped. Rose has no user
> > > > interface for that, but it is deap in the model. Future version maybe.
> > > >
> > > >
> > > > Eric
> > > >
> > > > -----Original Message-----
> > > > From: Eric D. Tarkington [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, April 10, 2001 8:53 AM
> > > > To: ROSE_FORUM
> > > > Subject: (ROSE) <<stereotype>> in Sequence Diagrams?
> > > >
> > > >
> > > >
> > > > My students asked me recently how to put a steretype onto an object in a
> > > > sequence diagram.  Rose 98 won't do it, and I wonder why (Rational is
> > > > supposedly updating us to 2001, but the paperwork is taking forever).
> > > >
> > > > It's amazing how long your habits can go unchallenged.  I had simply
> > > > never tried to apply a stereotype in a sequence diagram, but my
> > > > students' request seems entirely reasonable.
> > > >
> > > > Can't the object inherit the stereotype from the class?  Is there
> > > > actually no nice way to display this in an interaction diagram?  Does
> > > > this violate the UML spec. somehow?
> > > >
> > > > -Eric
> ************************************************************************
> * 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
*
*************************************************************************

Reply via email to