Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Ondrej Kolenaty on February 29, 2008, 03:01:55 am
-
Would it be possible to any element's attribute (ie. name, value of Tagged Value etc.) to notes and scenarios (the RTF ones newly in EA 7.1). That will update after change in the target element?
An example: in class A note i would like to refer to class B's name. And after I change name of B to "C" the note in class A will remain uptudate and the note will contain "C" instead of "B".
-
I don't think this would be easy to implement. Sparx would have to introduce yet another syntax (with variables for element references), and internally this would have to point to the target element's unique ID.
In a case like yours, instead of a note in class A saying e.g. "A is only there to complement B", I'd rather draw a dependency from A to B and give it a stereotype like "complements". Renaming B would not be an issue then.
Anyway, I'm all against Sparx introducing new languages while the existing ones (like automation and shape scripting) are still buggy and poorly documented.
As to tagged values: if you frequently have the need to reference other elements by a tagged value, you may want to define a profile. There you can give a tagged value a type restricting it's values to a certain stereotype, and editing the tagged value when your profile is loaded will give you a dialog to choose from all suitable elements within the model. Renaming the target element will not break the reference then either.
-
Ahoj Ond[ch345]eji,
according to you surname I hope you will understand the content of this page: http://www.objects.cz/eaoe/eaoe.html
It is commercial plug-in you are after.
-
Sure I understand, but there is a problem with EAOE and EA 7.1. Since the RTF notes are stored in diferent format and are damaging notes stored by EAOE. Also I find a bit unlucky way how to make exports.
-
All you say is truth, I neither do I use it.