Author Topic: Linking Call behavior to target; linking class operation to behavior  (Read 2391 times)

YaronS

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Hi,
I'm just getting started trying out Enterprise Architect.
I've used MagicDraw rather extensively in the past.

A couple of features that I liked in MagicDraw, and I'm wondering if they exist in Enterprise Architect:
  • In a call behavior, when you would double-click the "rake" icon, it would open the called behavior.
  • In a class diagram, you can drag a behavior (e.g. an Activity) from the model tree onto the operations box in a class, and it would create an operation linked to that behavior. Or, you can drag it onto an existing operation, and it would link them and update the type and parameters.
Thanks!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Linking Call behavior to target; linking class operation to behavior
« Reply #1 on: February 25, 2022, 04:33:36 am »
The first you could mimic somehow with composite diagrams - or start some click and search - or create a custom seach - or write an add-in/script.
The second would only be available if you write an add-in/script.

The long version of the answer would be too long. In any case: MagicDraw is a drawing tool and has no idea about UML from the base. EA hase UML as base but it lacks drawing capabilities.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13240
  • Karma: +553/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Linking Call behavior to target; linking class operation to behavior
« Reply #2 on: February 25, 2022, 04:48:18 am »
In any case: MagicDraw is a drawing tool and has no idea about UML from the base. EA hase UML as base but it lacks drawing capabilities.

I think you got the tool mixed up with another one. MagicDraw is a pretty complete UML modellingtool. Ugly, but it does get the job done.
Some features are even better than those of EA. (use UML profiles directly from a meta model)

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Linking Call behavior to target; linking class operation to behavior
« Reply #3 on: February 25, 2022, 06:08:10 am »
Seems so. If so: I'll take back any offense ;-)

q.

P.S. Yep. I got mixed up. MagicDraw is from Dassault (and as such from a military based company) which does not even state a price. Will probably be a fortune. Getting back to offense...
« Last Edit: February 25, 2022, 06:20:54 am by qwerty »

YaronS

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Linking Call behavior to target; linking class operation to behavior
« Reply #4 on: April 23, 2022, 12:50:58 am »
I'll just mention, for the first bullet, in EA16 (I don't remember if you could do this in 15.2) you can't quite do that but at least you can ctrl-alt-g (or right-clk > Find > Locate Behavior in Project Browser) to select the called behavior in the browser.