Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Dani on September 08, 2004, 07:09:33 am
-
Hi there,
Is it possible in sequence diagrams to force all messages to be operations of a class ?
During development I found that three messages could actually be consolidated into one single message. So I renamed one of the class operations with the new name and deleted the other two. The problem is that now all diagrams that were using the deleted names still show them, albeit in free form, i.e. messages are not operations of any class.
I'm only starting with EA, but I'm concerned that in the future we'll have to manually track these issues through all sequence diagrams, which could gorw to be considerable in number.
-
Maybe my reply here will help you too.
http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=general;action=display;num=1094737761
-
Dani,
I am concerned about the same problem as you, and as far as I know, there is no other solution than to maintain the diagrams manually. In general, I think consistency checking of a model is one of the major missing features in EA. If you use code engineering, you will encounter the same sort of problem with attribute names and association role names (and type and scope) which also need to be kept consistent manually.
Sparx, do you plan to do something about these issues?
Mikkel
-
TrtnJohn,
Thanks but I already do that. The issue arises if you delete an operation of a class. You have to manually go through all your diagrams looking for who uses it and remove it. I didn't find a way to search for who uses an opeation either. The find function doesn't seem to look inside diagrams.
Mikkel's answer I guess is what I was not hoping to hear but such is life. At least now I know.
-
If you are up to it, you may use the automation interface to create a script that can do the search for you.
Mikkel