Interesting!
I wasn't able to make an existing method static by adding a '$' at the beginning of its name, all I got was new name. But, indeed, a new method entered with an initial '$' was underlined in the class icon and the '$' was not part of the name. The generated code for the method did not include "static" until I updated the method specification explicitly. So the '$' effects the icon but the generated code is based on the specification. That's what Davyd Norris was trying to tell me... "Norris, Davyd" wrote: > > Hi Vance, > > Rose does underline static operations, but you have to tell it that the UML > operation itself is static - to the best of my knowledge it does not look at > any of the code generation pages to figure it out. > > If you type the operation name starting with a '$' it will underline it for > you and set the operation to static. This notation is a hangover from the > old Booch days but is convenient since the UML has no simple textual > representation to distinguish types vs. instances. > > There is the need for an enhancement though - there is currently no way to > do this via any of the properties pages. > > Regards, > > Dave. > -- > Davyd Norris - Consultant > Regional Services Organisation (Asia Pacific) > Rational Software > Level 2, 459 Collins Street > Melbourne, Vic 3000 > Australia. > Phone: +61 3 9613 9632 > Fax : +61 3 9613 9699 > HDesk: +61 2 9419 0111 > -- > > > -----Original Message----- > > From: Vance Christiaanse [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, 10 November 2001 7:31 AM > > To: [EMAIL PROTECTED] > > Subject: (ROSE) Concurrent Composite States Revisited > > > > > > > > Rose fans, > > > > I'm working on a list of "UML features that aren't available in Rose". > > So far, the list has only two items: > > (1) Underline static operations in class diagrams. > > (2) Tile a state icon into regions with dotted lines to indicate > > concurrent composite states. > > > > A workaround to (1) was suggested by Netherwood Paul: use a > > stereotype. > > > > As a workaround to (2) it seems that one could simply leave out the > > dotted lines. Rose doesn't allow more than one start state in the same > > context so a synchronization fork could be used instead. This > > is similar > > to figure 3-77 in the 1.4 spec except for the dotted lines. > > > > Vance > > > > Vance Christiaanse > > Cintech Consulting > > ************************************************************** > > ********** > > * 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/support/usergroups/rose/rose_forum.jsp > > * 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/support/usergroups/rose/rose_forum.jsp > * 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/support/usergroups/rose/rose_forum.jsp * Other Requests: [EMAIL PROTECTED] * * To unsubscribe from the list, please send email * * To: [EMAIL PROTECTED] * Subject:<BLANK> * Body: unsubscribe rose_forum * *************************************************************************
