Book a Demo

Author Topic: How to locate a operation in other diagrams  (Read 7539 times)

zyx

  • EA User
  • **
  • Posts: 95
  • Karma: +1/-1
    • View Profile
How to locate a operation in other diagrams
« on: June 27, 2012, 11:58:29 am »
Hello all,

    I apologize for my bad english, I am brazilian...

    There is some way to discover in which behavioral diagrams, like sequence diagrams a specific method is being used? How to locate a operation declared in a class diagram in other diagrams?

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: How to locate a operation in other diagrams
« Reply #1 on: June 27, 2012, 03:22:13 pm »
Hello,

there are some ways to do so.

The easies is to use Geerts Navigator, an Addin.
http://community.sparxsystems.com/resources/scripts/free-and-open-source-add-ea-navigator-21

Other ways are:
- You write your own Addin
  A good e-book (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1339698787) will help you
- You write a query
  The E-Book InsideEA will give you a lot of advice

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13521
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to locate a operation in other diagrams
« Reply #2 on: June 27, 2012, 04:12:09 pm »
EA recently also has a native function.
Right click on an operation in the project browser and choose "Find in all diagrams" Ctrl+U

I think this has been added in version 9.xx

Geert

PS. Neither the EA Navigator nor the native function will show class diagrams showing the operation, only sequence/collaboration diagrams calling the operation.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: How to locate a operation in other diagrams
« Reply #3 on: July 03, 2012, 12:36:19 pm »
Out of curiosity can the model search be used OOTB to find diagrams in which an element (or a connector) is used?
« Last Edit: July 03, 2012, 12:36:39 pm by skiwi »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: How to locate a operation in other diagrams
« Reply #4 on: July 03, 2012, 02:58:21 pm »
Hello,

query is also a possibility.

The drawback on query is that you have to insert the GUID or the object_id of the operation in your query. Or make a little script which does it for you after selecting the operation.

If there is interest I will post query and browser script.

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)