Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Rob_M on November 21, 2003, 02:35:35 pm
-
When creating an activity diagram, I would like to be able to change the type of an activity to a sub-activity, thereby adding in a linked diagram.
I expected such a feature to be found in Element->Change Type, then selecting sub-activity from the pull down menu.
Alas, sub-activity was nowhere to be found.
Rob
-
Even better - as soon as a child diagram is created under an activity, it might change into a sub-activity!
Bruno
-
Yes!!! I'm just working on my first project with EA and have needed this feature several times.
I look forward to seeing it added in a near-term update!?
-
I'm joining!
-
me too.
-
There actually is a work-around for this problem. If you have a normal activity that you want to change into a sub-activity:
1) Use the Element -> Change Type to change the activity into a class
2) Right click on the class in the diagram and select "Set as Composite"
3) Use the Element -> Change Type to change the class back into an activity
The activity is now a sub-activity. To change a sub-activity into a regular activity, do the same, but uncheck the Set as Composite flag on the class. Apparently this will all be fixed in version 4.0.
-
Good one!
How in the world did you figure that out? :-)
Thanks,
Bruno
-
Sweet, Thanks Jesse.
Rob
-
Cool - real hacker's work! ;)
'Apparently this will all be fixed in version 4.0.' unfortunately not yet :'(
Thomas
-
Too fast - actually 4.0 solves the problem :D :
'Set as Composite Element' is directly available for activities. Turning it on, automatically creates a diagram within the activity element.
-
Excellent!