Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: zyx on June 27, 2012, 11:58:29 am

Title: How to locate a operation in other diagrams
Post by: zyx 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?
Title: Re: How to locate a operation in other diagrams
Post by: Helmut Ortmann 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
Title: Re: How to locate a operation in other diagrams
Post by: Geert Bellekens 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.
Title: Re: How to locate a operation in other diagrams
Post by: skiwi 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?
Title: Re: How to locate a operation in other diagrams
Post by: Helmut Ortmann 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