Book a Demo

Author Topic: How to refresh parameter name  on sequence diagram  (Read 5009 times)

kents

  • EA Novice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
How to refresh parameter name  on sequence diagram
« on: February 28, 2014, 03:02:49 am »
I have a sequence diagram showing a number of messages going between an actor and an object. The messages have been specified as interface operations, and the two interfaces are realized by the actor and the object respectively. When I created the sequence diagram, I added the message names by selecting from the drop down list on the Message Properties diagram. All well and good so far.

Since creating the sequence diagram, I have changed the names of some of the parameters of some of the operations in the interface definitions. I was expecting that when I reopened the sequence diagram, all of these changes would automatically be reflected on the diagram (I have set "Show Paramter Detail" to "Name Only"). But no, all the parameter names are the old ones (even though I also changed some of the operation names, and those changes are automatically reflected on the diagram).

I have found a way to get the new names reflected on the diagram, but it involves clicking on each message in turn and either clicking the Operations button and then simply clicking OK twice, or selecting the message again from the drop down list.

The problem is that I've got a lot of sequence diagrams and messages and I don't want to have to click on them all manually. So the question is: is there an easier way of refreshing the parameter names for all messages on all diagrams - preferably in one easy step?

I'm using EA version 10, build 1009.

Thanks in advance for any helpful suggestions.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to refresh parameter name  on sequence dia
« Reply #1 on: February 28, 2014, 06:44:35 am »
Unfortunately that's the way it is  :(

You *could* write some SQL to show messages that do not relate to any defined operation. But I don't have a feeling how difficult that would be. Writing a script would probably take me half a day.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to refresh parameter name  on sequence dia
« Reply #2 on: February 28, 2014, 05:31:35 pm »
The problem with this is that EA redundantly copies the operation signature in the mesage name field.
Luckily there is also a hard link to the operations GUID, so the problem remains limited to the visualisation on the sequence diagrams.
It should not be too difficult to write an update script that verifies the name of the connectors and updates them if needed.

Geert

oiwuernnslkdjf

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: How to refresh parameter name  on sequence diagram
« Reply #3 on: February 20, 2020, 09:35:06 pm »
Any update on this? At least using EA 12 does not update Operation Names automatically.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to refresh parameter name  on sequence diagram
« Reply #4 on: February 20, 2020, 09:54:51 pm »
Even if someone would have reported this it's unlikely to get fixed. Feel free to send a bug report, though.

q.