Book a Demo

Author Topic: How can I attach an activity to an operation  (Read 6090 times)

bwl21

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
How can I attach an activity to an operation
« on: February 26, 2006, 05:01:05 am »
It appears to me, that I could use activity diagrams to specify more details on operations. But how can I attach the operation to the activity?

Shall I aggreate the activity with the class?

-bw

thomaskilian

  • Guest
Re: How can I attach an activity to an operation
« Reply #1 on: February 27, 2006, 02:20:09 am »
Try the following:
- create an activity diagram
- drag an operation from the browser onto the diagram
- EA will automatically create an action in the package where the diagram is located
« Last Edit: February 27, 2006, 02:20:48 am by thomaskilian »

bwl21

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: How can I attach an activity to an operation
« Reply #2 on: February 28, 2006, 08:11:48 am »
Quote
Try the following:
- create an activity diagram
- drag an operation from the browser onto the diagram
- EA will automatically create an action in the package where the diagram is located


Yes it works great. The action also shows the reference to the class and operation (if action name is not the same as operation name).

I tried to reflect this link in the properties either of the action or of the operation but it is not visible there. Suppose, I want to change the association between the action and the operation, how can I do this?

-bernhard


thomaskilian

  • Guest
Re: How can I attach an activity to an operation
« Reply #3 on: February 28, 2006, 10:54:16 am »
Sorry, no idea. I do not work much with Activity diagrams. Someone else?