Book a Demo

Author Topic: Change element type Action to Activity?  (Read 4929 times)

rnv

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Change element type Action to Activity?
« on: January 10, 2013, 11:38:10 pm »
Hi,

In my activity diagram I have both Actions and Activities.

I would like to harmonise and have all same.

Is there a way to change element type 'Action' to 'Activity' or vice versa?

will really appreciate.

regards,
rnv

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Change element type Action to Activity?
« Reply #1 on: January 10, 2013, 11:57:39 pm »
Should be possible via the menu Element|Advanced|Change type

Geert

PS. change all Activities to Actions. The main purpose of an Activity is to be the parent of an Activity Diagram, not to be used on one.
« Last Edit: January 10, 2013, 11:59:17 pm by Geert.Bellekens »

rnv

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Change element type Action to Activity?
« Reply #2 on: January 11, 2013, 12:10:56 am »
Thank you Geert for your quick reference. Works fine.

I will most probably change all activity to action as you mentioned. As I undetstood Action is a part of an Activity. and Activity could be a part of Activity if it itself contains more actions.

BTW, is it possible to link a diagram (screetshot) from an action? the screenshot  is as a diagram in EA.
I would like to be able to reference it so that if necessary i can print it together with activity description or just for reference.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change element type Action to Activity?
« Reply #3 on: January 11, 2013, 03:28:15 am »
i would not favor the use of such screen shots, but you can create a boundary, link it to the Action/Activity and assign the alternate image with the screen shot. Alternative use a Diagram Frame of the specific diagram.

q.
« Last Edit: January 11, 2013, 03:29:13 am by qwerty »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Change element type Action to Activity?
« Reply #4 on: January 11, 2013, 09:01:12 am »
Quote
and Activity could be a part of Activity if it itself contains more actions.
In that circumstance the "correct" way to model is to create a CallBehaviorAction with the activity selected as the behavior to call. You would still not include the activity directly.

EA makes this easy to do. Hold Ctrl when dragging the activity from the tree then select "Invocation (Action)".

rnv

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Change element type Action to Activity?
« Reply #5 on: January 11, 2013, 08:18:22 pm »
Quote
i would not favor the use of such screen shots, but you can create a boundary, link it to the Action/Activity and assign the alternate image with the screen shot. Alternative use a Diagram Frame of the specific diagram.

q.

Thanks Query,
 
I have a Diagram with screenshots. that means i have to create a diagram frame and link it to the action. what kind of relationship that should be? Trace?

I just would like to link an action with an image, like a note. in case if someone wants to know how does the user interface looks like then he can see it.

regards,
rnv

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change element type Action to Activity?
« Reply #6 on: January 11, 2013, 11:41:57 pm »
A trace is fine. It points out that you link two elements quite loosely. A note link is unfortunately only possible for notes.

Using boundary/image is also okay if you refer to external images. But as pointed out if you refer to internal stuff the Diagram Frame is the better way to go as its content is always up-to-date.

q.