hiho,
In Rose you can right-click on an activity in a diagram and select "Sub
Diagrams" to create a sub-activity diagram (but maybe this is not what you
mean by hierarchical activity diagrams).
I messed around with Rose tried to be clever here... and then backed off as
I couldn't get Rose to do what I wanted to do.
I created a use case MainGuy and then a use case IncludedGuy. Within
IncludedGuy I created an activity model entitled "IncludedGuy activities"
(for reasons discussed later). In that activity diagram I used a number of
elements including activities and synchronization bars. In the MainGuy I
created an activity diagram and called one of the activities Invoke
IncludedGuy. I right-clicked on that one and created a sub-activity
diagram. So far I'm rockin'.
My original plan was to copy the IncludedGuy activity diagram contents into
the new sub-diagram, but that was problematic. First I tried doing a ctrl-A
ctrl-C (SelectAll, Copy) on the IncludedGuy activity diagram, but when I
pasted in the new sub-diagram all I got was the synchronization bar (and
some warning from Rose when doing it). Then I decided to drag-and-drop the
activities from IncludedGuy into this diagram. It started out going well,
the activities were shown as "(from IncludedGuy activities)" based on my
naming of the activity model before. And transitions between activities
showed up automatically. But I couldn't get the transitions to show up
between the activities and the synch bar. I was tempted to recreate them by
hand, but I am always unhappy to do this sort of thing because I am afraid I
am polluting the underlying model with duplicate info.
BTW, you might get slightly different behavior when doing the Copy/Paste.
Another time I did the paste, I got some of the activities... I can't
exactly determine under what circumstances you get what elements pasted.
While going through the exercise above -- which got me pretty close to what
I was looking for -- I suddenly decided I didn't want to do this anyway. It
would be a bad idea to copy one whole activity diagram into another and then
be out of synch when the source diagram changes. So I cleared out the
contents of the sub-activity diagram and I left one note. Into that note I
dropped the IncludedGuy's activity diagram creating a hyperink. And I left
well-enough alone. I think in the future I will just not bother with the
sub-diagram and I will attach the hyperlink note to the "Invoke IncludedGuy"
activity diagram up at the main level.
------- b
--
Brian G. Lyons
Number Six Software - Voted Rational's Best Complementary Service Provider
1655 North Fort Myer Drive, Suite 1100
Arlington, VA 22209-3196
http://www.numbersix.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Couball, James
Sent: Friday, March 16, 2001 12:59 PM
To: '[EMAIL PROTECTED]'
Subject: RE: (ROSE) Use Case Activity Diagrams: <<include>> use case
activ ity?
Rusty,
I have always just made the entire included use case an activity in the
including use cases activity diagram. Conceptually, the activity diagram
for the included use case is nested in that activity. However, Rose doesn't
actually support heirarchical activity diagrams.
Maybe this is one of the issues that UML is supposed to address in reguards
to activity diagrams. Anybody know?
Sincerely,
James.
-----Original Message-----
From: Williamson, Rusty [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 1:07 PM
To: 'Rose Forum'
Subject: (ROSE) Use Case Activity Diagrams: <<include>> use case
activity?
Hello,
Where you have a use case that has an 'included' use case, how is the
'included' use case represented in the use case's activity diagram?
Thanks!
Rusty
---------------------------------------------------------------
Rusty Williamson
Sr. Systems Architect
Corporate Office
GERS, Inc.
10431 Wateridge Circle * San Diego, CA 92121
(800) 854-2263 * CA (858) 457-3888
FAX (858) 484-9237 * Desk (858) 484-9237
E-mail: [EMAIL PROTECTED] * Web http://www.gers.com
"e-Business Solutions for the Consumer-Driven World"
************************************************************************
* 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
*
*************************************************************************