Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: HMorgan on June 15, 2012, 02:58:16 am
-
Hi, I am just starting out using EA. I am using the UDMP add-in and have a question about the example architecture.
One of the diagrams (OV-5 Alternative) has a <<nodes>> object and UML partitions. I have noticed that both objects have the same name and when I change one name on the other changes automatically.
How is this done? Basically I want to have two different objects, a UML parition and UML activity, that I want to have the same name. When I change one I want the other to change. How can I get these objects linked together?
Cheers and apologies for the question, as I say I am new to this.
-
It's done using instance classifiers: select the UML partition and press 'CTRL+L' (or popup menu advanced...instance classifier). From the popup dialog, select your activity.
What this does is that the partition will be considered as an -instance- of the selected activity. You can see this from the ':' that now appears in the partition element name. The text after the ':' is the name of your activity and it will change if you change the name of the activity. Text displayed -before- the ':' is the name of the specific instance (should you want one).
regards,
Paulus